My IP From Command Line
Using Linux command line.
IPv4
1
2
| curl https://myip4.johnsiu.com/
curl https://myip4.jsiu.dev/
|
Alias
1
| alias my_ip4="echo \$(curl -s https://myip4.jsiu.dev)"
|
IPv6
1
2
| curl https://myip6.johnsiu.com/
curl https://myip6.jsiu.dev/
|
Alias
1
| alias my_ip6="echo \$(curl -s https://myip6.jsiu.dev)"
|
Web Base
John Siu
Update: 2025-09-07
comments powered by