Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

display ip address linux

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

#public ip
curl ifconfig.me
 
PREVIOUS NEXT
Tagged: #display #ip #address #linux
ADD COMMENT
Topic
Name
1+9 =