Answers for "check wan ip linux"

23

display ip address linux

#private ip
hostname -I
or
ifconfig
or
ip addr show

#public ip
curl ifconfig.me
Posted by: Guest on December-02-2020
18

show ip address linux

$ hostname -I
Posted by: Guest on August-22-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language