Shell/Bash: display ip address linux Example

By

Shell/Bash Example: This is the "display ip address linux" Example. compiled from many sources on the internet by SimpleTutorials.org

display ip address linux

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

#public ip
curl ifconfig.me

show ip address linux

$ hostname -I 

linux check ip address command

ifconfig -a

how to see ip in linux

curl ifconfig.me


* Summary: This "display ip address linux" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others