<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>
<channel>
	<title>Blog.ChenHow.Net &#187; ifconfig perl</title>
	<atom:link href="http://blog.chenhow.net/tag/ifconfig-perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chenhow.net</link>
	<description>Tech news, reviews, linux tips &#38; tricks, gadgets, foods and life experience sharing</description>
	<lastBuildDate>Wed, 21 Dec 2011 03:32:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<copyright>Copyright &#xA9; Blog.ChenHow.Net 2010 </copyright>
	<managingEditor>chenhow@chenhow.net (Blog.ChenHow.Net)</managingEditor>
	<webMaster>chenhow@chenhow.net (Blog.ChenHow.Net)</webMaster>
	<image>
		<url>http://blog.chenhow.net/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>Blog.ChenHow.Net</title>
		<link>http://blog.chenhow.net</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>Tech news, reviews, linux tips &#38; tricks, gadgets, foods and life experience sharing</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>Blog.ChenHow.Net</itunes:author>
	<itunes:owner>
		<itunes:name>Blog.ChenHow.Net</itunes:name>
		<itunes:email>chenhow@chenhow.net</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://blog.chenhow.net/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Filter ifconfig with Perl</title>
		<link>http://blog.chenhow.net/2008/10/07/programming/perl/</link>
		<comments>http://blog.chenhow.net/2008/10/07/programming/perl/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 00:55:09 +0000</pubDate>
		<dc:creator>chenhow</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ifconfig perl]]></category>
		<guid isPermaLink="false">http://blog.chenhow.net/?p=329</guid>
		<description><![CDATA[Linux/Unix: Below is the commands to filter ifconfig to show only the eth0 IP address in Linux. Perl Script: Option 1 eth0 &#124; grep &#8220;inet addr&#8221;&#124; awk {&#8216;print $2&#8242;} &#124; perl -e &#8216;while(&#60;&#62;){ ($a,$b)=split/:/; print $b; }&#8217; Option 2 ifconfig eth0 &#124; grep &#8220;inet addr&#8221; &#124; perl -e &#8216;while (&#60;&#62;) { ($inet, $addr, $ip, $others) [...]]]></description>
			<content:encoded><![CDATA[<p>Linux/Unix: Below is the commands to filter ifconfig to show only the eth0 IP address in Linux.</p>
<p><strong>Perl Script:</strong></p>
<p><em><strong>Option 1</strong></em></p>
<blockquote><p>eth0 | grep &#8220;inet addr&#8221;| awk {&#8216;print $2&#8242;} | perl -e &#8216;while(&lt;&gt;){ ($a,$b)=split/:/; print $b; }&#8217;</p></blockquote>
<p><em><strong>Option 2</strong></em></p>
<blockquote><p>ifconfig eth0 | grep &#8220;inet addr&#8221; | perl -e &#8216;while (&lt;&gt;) { ($inet, $addr, $ip, $others) = /(\w+)\s+(\w+):(\S+)\s+(.*)/; print $3.&#8221;\n&#8221;;}&#8217;</p></blockquote>
<div  class="related_post_title">Related Posts</div><ul class="related_post"><li>No Related Posts</li></ul>]]></content:encoded>
			<wfw:commentRss>http://blog.chenhow.net/2008/10/07/programming/perl/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

