Getting source IP from command line

There are many ways to retrieve source IP from your box you are ssh in, but below command is the most concise way to retrieve the source IP


curl ipinfo.io/ip

Reference Link:
https://askubuntu.com/questions/95910/command-for-determining-my-public-ip

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.