<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: A Bash Command To Get Your IP</title>
	<atom:link href="http://www.amirwatad.com/blog/archives/2009/03/09/a-bash-command-to-get-your-ip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.amirwatad.com/blog/archives/2009/03/09/a-bash-command-to-get-your-ip/</link>
	<description>Remember the name ;)</description>
	<lastBuildDate>Tue, 20 Dec 2011 20:37:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: vando</title>
		<link>http://www.amirwatad.com/blog/archives/2009/03/09/a-bash-command-to-get-your-ip/comment-page-1/#comment-222</link>
		<dc:creator>vando</dc:creator>
		<pubDate>Sat, 13 Feb 2010 16:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=369#comment-222</guid>
		<description>I&#039;ve a more simple method:

curl icanhazip.com

bye!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve a more simple method:</p>
<p>curl icanhazip.com</p>
<p>bye!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Binny V A</title>
		<link>http://www.amirwatad.com/blog/archives/2009/03/09/a-bash-command-to-get-your-ip/comment-page-1/#comment-123</link>
		<dc:creator>Binny V A</dc:creator>
		<pubDate>Sun, 15 Mar 2009 08:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=369#comment-123</guid>
		<description>This is &lt;a href=&quot;http://txt.binnyva.com/2007/12/get-external-ip/&quot; rel=&quot;nofollow&quot;&gt;my method&lt;/a&gt;...

curl -s checkip.dyndns.org&#124;sed -e &#039;s/.*Current IP Address: //&#039; -e &#039;s/&lt;.*$//&#039;</description>
		<content:encoded><![CDATA[<p>This is <a href="http://txt.binnyva.com/2007/12/get-external-ip/" rel="nofollow">my method</a>&#8230;</p>
<p>curl -s checkip.dyndns.org|sed -e &#8216;s/.*Current IP Address: //&#8217; -e &#8216;s/&lt;.*$//&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir Watad</title>
		<link>http://www.amirwatad.com/blog/archives/2009/03/09/a-bash-command-to-get-your-ip/comment-page-1/#comment-98</link>
		<dc:creator>Amir Watad</dc:creator>
		<pubDate>Wed, 11 Mar 2009 00:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=369#comment-98</guid>
		<description>Hi Paul,
Thank you for your comment. I checked in their forums and you&#039;re right.
I updated the post.
Thanks for sharing this information.
:)</description>
		<content:encoded><![CDATA[<p>Hi Paul,<br />
Thank you for your comment. I checked in their forums and you&#8217;re right.<br />
I updated the post.<br />
Thanks for sharing this information. <img src='http://www.amirwatad.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Dorman</title>
		<link>http://www.amirwatad.com/blog/archives/2009/03/09/a-bash-command-to-get-your-ip/comment-page-1/#comment-97</link>
		<dc:creator>Paul Dorman</dc:creator>
		<pubDate>Tue, 10 Mar 2009 23:52:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=369#comment-97</guid>
		<description>I got banned for trying this several times within 5 minutes. However the site actually has a place for scraping:  www.whatismyip.com/automation/n09230945.asp

They tell you about it when they ban you :o)</description>
		<content:encoded><![CDATA[<p>I got banned for trying this several times within 5 minutes. However the site actually has a place for scraping:  <a href="http://www.whatismyip.com/automation/n09230945.asp" rel="nofollow">http://www.whatismyip.com/automation/n09230945.asp</a></p>
<p>They tell you about it when they ban you <img src='http://www.amirwatad.com/blog/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Technology news for 2009-03-09 &#124; Technology News</title>
		<link>http://www.amirwatad.com/blog/archives/2009/03/09/a-bash-command-to-get-your-ip/comment-page-1/#comment-93</link>
		<dc:creator>Technology news for 2009-03-09 &#124; Technology News</dc:creator>
		<pubDate>Tue, 10 Mar 2009 07:04:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=369#comment-93</guid>
		<description>[...] Posted an item embee: A Bash Command To Get Your IP (via Digg) [...]</description>
		<content:encoded><![CDATA[<p>[...] Posted an item embee: A Bash Command To Get Your IP (via Digg) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Get IPs With bash at De-escalate</title>
		<link>http://www.amirwatad.com/blog/archives/2009/03/09/a-bash-command-to-get-your-ip/comment-page-1/#comment-86</link>
		<dc:creator>Get IPs With bash at De-escalate</dc:creator>
		<pubDate>Mon, 09 Mar 2009 01:00:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=369#comment-86</guid>
		<description>[...] to Twitter, I just happened to run across a post about getting the external IP in bash on Amir Watad&#8217;s blog. So simple. I like [...]</description>
		<content:encoded><![CDATA[<p>[...] to Twitter, I just happened to run across a post about getting the external IP in bash on Amir Watad&#8217;s blog. So simple. I like [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir Watad</title>
		<link>http://www.amirwatad.com/blog/archives/2009/03/09/a-bash-command-to-get-your-ip/comment-page-1/#comment-85</link>
		<dc:creator>Amir Watad</dc:creator>
		<pubDate>Mon, 09 Mar 2009 00:17:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=369#comment-85</guid>
		<description>Welcome ;)</description>
		<content:encoded><![CDATA[<p>Welcome <img src='http://www.amirwatad.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: De-Escalate</title>
		<link>http://www.amirwatad.com/blog/archives/2009/03/09/a-bash-command-to-get-your-ip/comment-page-1/#comment-84</link>
		<dc:creator>De-Escalate</dc:creator>
		<pubDate>Mon, 09 Mar 2009 00:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=369#comment-84</guid>
		<description>That makes sense... we were trying to solve different problems. I might tack your command to my script so that I can have inside and outside IPs. Thanks!</description>
		<content:encoded><![CDATA[<p>That makes sense&#8230; we were trying to solve different problems. I might tack your command to my script so that I can have inside and outside IPs. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amir Watad</title>
		<link>http://www.amirwatad.com/blog/archives/2009/03/09/a-bash-command-to-get-your-ip/comment-page-1/#comment-83</link>
		<dc:creator>Amir Watad</dc:creator>
		<pubDate>Sun, 08 Mar 2009 23:58:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=369#comment-83</guid>
		<description>Hi De-Escalate,
Thanks for your comment.
I agree that ifconfig will show you the IP, but it&#039;s not always the same IP that the external world see.
If you&#039;re behind a NAT for example, you computer will &quot;think&quot; that it has a certain IP (which was assigned to it by the NAT and identifies it inside the LAN), but if you visit a website, it will see a different IP, which is in the above case the IP assigned by your ISP to the NAT.
ifconfig will give you the internal IP, whatismyip is an external site, so it will see you &quot;real&quot; IP.
And yes, please send the script to me. My Email appears in the top of the sidebar.
Thanks again :)</description>
		<content:encoded><![CDATA[<p>Hi De-Escalate,<br />
Thanks for your comment.<br />
I agree that ifconfig will show you the IP, but it&#8217;s not always the same IP that the external world see.<br />
If you&#8217;re behind a NAT for example, you computer will &#8220;think&#8221; that it has a certain IP (which was assigned to it by the NAT and identifies it inside the LAN), but if you visit a website, it will see a different IP, which is in the above case the IP assigned by your ISP to the NAT.<br />
ifconfig will give you the internal IP, whatismyip is an external site, so it will see you &#8220;real&#8221; IP.<br />
And yes, please send the script to me. My Email appears in the top of the sidebar.<br />
Thanks again <img src='http://www.amirwatad.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: De-Escalate</title>
		<link>http://www.amirwatad.com/blog/archives/2009/03/09/a-bash-command-to-get-your-ip/comment-page-1/#comment-82</link>
		<dc:creator>De-Escalate</dc:creator>
		<pubDate>Sun, 08 Mar 2009 23:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=369#comment-82</guid>
		<description>I tweeted this, but for those who are not on Twitter, what about using ifconfig &#124; grep inet? You can use sed and grep to get output that only includes the IP, or just to format things more nicely. I made a bash script that does only that, for convenience when I was having trouble with my school&#039;s wireless. I&#039;d be happy to send it to you if you would like to take a look at it.</description>
		<content:encoded><![CDATA[<p>I tweeted this, but for those who are not on Twitter, what about using ifconfig | grep inet? You can use sed and grep to get output that only includes the IP, or just to format things more nicely. I made a bash script that does only that, for convenience when I was having trouble with my school&#8217;s wireless. I&#8217;d be happy to send it to you if you would like to take a look at it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.340 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-10 00:11:23 -->

