Answers for "linux check ip address in cmd"

20

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
16

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