Get the internet facing IP address of a Linux machine easily.

Posted: July 8, 2015. At: 11:05 AM. This was 2 years ago. Post ID: 8258
Page permalink:

This simple command will print out the Internet facing IP address of a Linux machine in no time.


This will return the useragent that is used to access this URL.

ubuntu ~ $ curl

Use this string to get all information about the host that is accessing the url.


Very useful in a script if the user needs information about their remote Internet facing IP in a hurry.

No comments have been made. Use this form to start the conversation :)

Leave a Reply