Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

command to find Server’s Public IP Address

$ ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's//.*$//'
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #command #find #Public #IP #Address
ADD COMMENT
Topic
Name
6+5 =