Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ubuntu get external ip

curl -s https://checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #ubuntu #external #ip
ADD COMMENT
Topic
Name
5+7 =