web analytics

Blog

Identify your public IP via Linux Terminal

Tags: command lineLinuxpublic IP

Published on: August 5, 2014 by Vipin R.N

Identify  your public IP via Linux Terminal

Scenario:

Get public IP

Getting the public IP is essential for the investigation of various issues.  The most common method being used is accessing the websites such as www.whatismyip.com or www.whatismyipaddress.com from the browser. Some times, the browser may not be available. In such cases you can use the following commands to get  public IP from the shell

# curl icanhazip.com

# curl ifconfig.me

# wget -qO- ifconfig.me/ip

 

 

 

 

 

Category : General, Howtos, Linux

Vipin R.N

Vipin R.N

Vipin is a no-nonsense, disciplined guy who ensures that everything is carried out with the highest level of perfection. Apart from his great coding skills, he is quite interested in advanced server administration, issue analysis, documentation and training. In-depth knowledge in international politics, ammunition and automobiles makes this hard core Manchester United fan, one of the most referenced personalities in the entire team.

You may also read:

Comments

Add new commentSIGN IN

Let's Connect

Get new updates

Categories

$0.000 items