<?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/"
	>

<channel>
	<title>遨遊飛翔 &#187; shell</title>
	<atom:link href="http://blog.shian.tw/tag/shell/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.shian.tw</link>
	<description>學習筆記 For php、jQuery、MySql、Centos、Suse、Server、CodeIgniter</description>
	<lastBuildDate>Sun, 09 Oct 2011 16:00:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://blog.shian.tw/?pushpress=hub'/>
		<item>
		<title>利用shell抓出mail log 的 said: 550</title>
		<link>http://blog.shian.tw/shell-said-550.html</link>
		<comments>http://blog.shian.tw/shell-said-550.html#comments</comments>
		<pubDate>Mon, 17 Nov 2008 12:59:35 +0000</pubDate>
		<dc:creator>shian</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://blog.shian.tw/%e5%88%a9%e7%94%a8shell%e6%8a%93%e5%87%bamail-log-%e7%9a%84-said-550.html</guid>
		<description><![CDATA[正好需要分析一下mail 的log檔，要抓取出550類的狀態mail出來，所以直接利用shell script來做，可以很快的分析log並抓取mail狀態為550出來。 ?View Code BASH1 2 3 4 #!/bin/bash file=&#34;/var/log/mail&#34; tmp=&#34;./edm_tmp.txt&#34; cat $file &#124; grep 'said: 550' &#124; awk '{print $7}' &#124; sed 's/to=,//gp' &#124; uniq &#62; $tmp 參考資料 Shell 設計入門 相關文章Linode Facilities Speedtest (0)Apache install mod_fastcgi &#038; php-fpm &#8230; <a href="http://blog.shian.tw/shell-said-550.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://blog.shian.tw/shell-said-550.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

