Settings

Theme

Show HN: netq – A script to fetch common network parameters, written in POSIX sh

github.com

2 points by pooyamo 2 months ago · 0 comments · 1 min read

Reader

Hi HN,

I've written a simple script, mainly to query public IPv4 and IPv6 of a computer. Currently about 14 IP-finder services are supported. It also supports fetching local IP and the corresponding network name (like SSID), which is useful for integrations in status-bars of minimal GNU/Linux-based setups like tiling wm desktops.

I've used POSIX sh and tried to fall back to alternative tools if a dependency is not found so the script would be more portable on different Linux distros. Also, it has basic support for Windows via MSYS2.

Hope it's useful. Let me know of what you think ;)

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection