_ _
___ | |__ __ _ _______ | |_
/ _ \| '_ \ / _` |_ / _ \| __|
| (_) | | | | (_| |/ / (_) | |_
\___/|_| |_|\__,_/___\___/ \__|
network —
tools
Get network information using ifconfig (part of the package
net-tools which may need to be installed) or ip.
sudo ifconfig -a
sudo ip add
(back to top)
The following URLs work on the command line.
$ curl https://icanhazip.com/
$ curl https://ipecho.io/plain; echo
$ wget -qO - ifconfig.co/ip
$ lynx -dump ifconfig.me/ip; echo
(back to top)
| -s |
| silent. |
| -4 |
| use ipv4. |
| -6 |
| use ipv6. |
| -L |
| if URL has been moved, request the new location. |
| -o |
| output file. |
| --proxy |
| set proxy --proxy PROTOCOL://IP[:PORT] |
| --socks5 |
| set socks5 proxy --socks5 IP[:PORT] |
| -H 'Accept-Language: LC' |
| set accept language for site to LC, eg.: -H
'Accept-Language: es' |