<?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>#raynix# &#187; linux</title>
	<atom:link href="http://raynix.info/archives/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://raynix.info</link>
	<description>Nothing really matters, love is all we need</description>
	<lastBuildDate>Thu, 09 Sep 2010 04:40:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>我的Enclave MKII, 客厅里的Ubuntu</title>
		<link>http://raynix.info/archives/1179</link>
		<comments>http://raynix.info/archives/1179#comments</comments>
		<pubDate>Thu, 19 Aug 2010 08:49:59 +0000</pubDate>
		<dc:creator>raynix</dc:creator>
				<category><![CDATA[Free software]]></category>
		<category><![CDATA[Hardwares]]></category>
		<category><![CDATA[Opensource]]></category>
		<category><![CDATA[Boxee]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Minix]]></category>
		<category><![CDATA[TV]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://raynix.info/?p=1179</guid>
		<description><![CDATA[时间过的真快, 距离Enclave计划已经快一年了. Enclave作为一个不错的服务器, 让我无需担心十几年的照片/音乐的安全问题的. 但是用起来方便么? 不方便. 因为Enclave没有视频/音频输出, 播放还要借助其它DLNA播放器, 例如PS3. Enclave基于Atom, 省电, 可是PS3可是200W+的耗电大户哦. 于是我开始打造我客厅里的媒体中心了. 下面报一下出场明星: 首先是MKII的骨干: MINIX 785G, 标准的17cm  x 17cm 的mini-ITX主板. 搭载AMD 速龙II x240 2.8GHz双核心CPU, 热功耗最大65W. 选购这主板的原因是它基于AMD 785G, 集成ATI HD4200显卡, HDMI输出, 图像性能够用. 而且它使用笔记本电脑的SODIMM内存, 这样我以前笔记本升级换下来的内存就用上了. 下面这位身材苗条, 但是作用却是举足轻重的: 有谁会觉得无线键盘比遥控器更方便呢? 硬盘沿用Enclave的, 这样配件基本齐全了. 开始组装. 首先是安装Ubuntu 10.04.  没有光驱? USB安装其实更快 运行了一会儿之后, 我发现北桥其实比CPU还热, 于是加装4CM风扇一枚. 固定的方式很作坊吧. 装好Ubuntu之后, 下载Boxee. 其实它才是主角啊, 上面的一切都是绿叶而已. Boxee需要一个免费的用户账号, 在其网站注册一下就可以了. 缺省安装后的样子: [...]]]></description>
			<content:encoded><![CDATA[<p>时间过的真快, 距离<a href="http://raynix.info/archives/687" target="_blank">Enclave计划</a>已经快一年了. Enclave作为一个不错的服务器, 让我无需担心十几年的照片/音乐的安全问题的. 但是用起来方便么? 不方便. 因为Enclave没有视频/音频输出, 播放还要借助其它DLNA播放器, 例如PS3. Enclave基于Atom, 省电, 可是PS3可是200W+的耗电大户哦.</p>
<p>于是我开始打造我客厅里的媒体中心了. 下面报一下出场明星:</p>
<p>首先是MKII的骨干: MINIX 785G, 标准的17cm  x 17cm 的mini-ITX主板. 搭载AMD 速龙II x240 2.8GHz双核心CPU, 热功耗最大65W.<br />
<a href="http://raynix.info/wp-content/uploads/2010/08/dscn2125.jpg"><img class="alignnone size-medium wp-image-1193" title="dscn2125" src="http://raynix.info/wp-content/uploads/2010/08/dscn2125-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="http://raynix.info/wp-content/uploads/2010/08/dscn2125.jpg"></a>选购这主板的原因是它基于AMD 785G, 集成ATI HD4200显卡, HDMI输出, 图像性能够用. 而且它使用笔记本电脑的SODIMM内存, 这样我以前笔记本升级换下来的内存就用上了.</p>
<p>下面这位身材苗条, 但是作用却是举足轻重的: 有谁会觉得无线键盘比遥控器更方便呢?<br />
<a href="http://raynix.info/wp-content/uploads/2010/08/T16UBBXjNzXXXKfBo9_074358.jpg_310x310.jpg"><img class="alignnone size-medium wp-image-1194" title="T16UBBXjNzXXXKfBo9_074358.jpg_310x310" src="http://raynix.info/wp-content/uploads/2010/08/T16UBBXjNzXXXKfBo9_074358.jpg_310x310-300x240.jpg" alt="" width="300" height="240" /></a></p>
<p>硬盘沿用Enclave的, 这样配件基本齐全了. 开始组装. 首先是安装Ubuntu 10.04. <a href="http://raynix.info/wp-content/uploads/2010/08/dscn2127.jpg"><img class="alignnone size-medium wp-image-1181" title="dscn2127" src="http://raynix.info/wp-content/uploads/2010/08/dscn2127-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>没有光驱? USB安装其实更快<br />
<a href="http://raynix.info/wp-content/uploads/2010/08/dscn2128.jpg"><img class="alignnone size-medium wp-image-1182" title="dscn2128" src="http://raynix.info/wp-content/uploads/2010/08/dscn2128-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>运行了一会儿之后, 我发现北桥其实比CPU还热, 于是加装4CM风扇一枚. 固定的方式很作坊吧.<br />
<a href="http://raynix.info/wp-content/uploads/2010/08/dscn2129.jpg"><img class="alignnone size-medium wp-image-1183" title="dscn2129" src="http://raynix.info/wp-content/uploads/2010/08/dscn2129-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>装好Ubuntu之后, 下载<a href="http://www.boxee.tv/" target="_blank">Boxee</a>. 其实它才是主角啊, 上面的一切都是绿叶而已. Boxee需要一个免费的用户账号, 在其网站注册一下就可以了. 缺省安装后的样子:<br />
<a href="http://raynix.info/wp-content/uploads/2010/08/dscn2133.jpg"><img class="alignnone size-medium wp-image-1184" title="dscn2133" src="http://raynix.info/wp-content/uploads/2010/08/dscn2133-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>如果你的电影/剧/音乐/照片都放在Ubuntu的缺省文件夹内, 那么基本无需配置, 开盒即食! 看看电影索引(界面虽然支持中文的, 先用英文测试一下...):<br />
<a href="http://raynix.info/wp-content/uploads/2010/08/dscn2135.jpg"><img class="alignnone size-medium wp-image-1186" title="dscn2135" src="http://raynix.info/wp-content/uploads/2010/08/dscn2135-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>电视剧索引. 和电影一样, 封面和简介/评级都是自动下载的. 不知道国内的电视剧能否有此待遇, 不过, 你真的以为我忙了这么半天就是为了看CCTV么?<br />
<a href="http://raynix.info/wp-content/uploads/2010/08/dscn2138.jpg"><img class="alignnone size-medium wp-image-1189" title="dscn2138" src="http://raynix.info/wp-content/uploads/2010/08/dscn2138-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>音乐索引:<a href="http://raynix.info/wp-content/uploads/2010/08/dscn2139.jpg"><br />
<img class="alignnone size-medium wp-image-1190" title="dscn2139" src="http://raynix.info/wp-content/uploads/2010/08/dscn2139-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>笑笑过生日的照片 <img src='http://raynix.info/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
<a href="http://raynix.info/wp-content/uploads/2010/08/dscn2140.jpg"><img class="alignnone size-medium wp-image-1191" title="dscn2140" src="http://raynix.info/wp-content/uploads/2010/08/dscn2140-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a href="http://raynix.info/wp-content/uploads/2010/08/dscn2140.jpg"></a>还有很多可扩展的应用, 当然, 其中很多都不是大陆可用的, 这个要感谢国家了.<a href="http://raynix.info/wp-content/uploads/2010/08/dscn2141.jpg"><img class="alignnone size-medium wp-image-1192" title="dscn2141" src="http://raynix.info/wp-content/uploads/2010/08/dscn2141-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>将Boxee添加到开机开启的软件清单中, 开机直接进入Boxee; 而Boxee有关机功能, 齐了. 另外安装一个sshd, 就能通过网络 登录和传输文件了. <img src='http://raynix.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>参考链接:</p>
<ol>
<li><a href="http://fullcirclemagazine.org/issue-32" target="_blank">FullCircle 第32期</a></li>
<li><a href="http://fullcirclemagazine.org/issue-33" target="_blank">FullCircle 第33期</a></li>
</ol>
<hr />
<p><small>© raynix for <a href="http://raynix.info">#raynix#</a>, 2010. |
<a href="http://raynix.info/archives/1179">Permalink</a> |
<a href="http://raynix.info/archives/1179#comments">4 条评论</a> |
Add to
<a href="http://del.icio.us/post?url=http://raynix.info/archives/1179&title=我的Enclave MKII, 客厅里的Ubuntu">del.icio.us</a>
<br/>
Post tags: <a href="http://raynix.info/archives/tag/boxee" rel="tag">Boxee</a>, <a href="http://raynix.info/archives/tag/linux" rel="tag">linux</a>, <a href="http://raynix.info/archives/tag/minix" rel="tag">Minix</a>, <a href="http://raynix.info/archives/tag/tv" rel="tag">TV</a>, <a href="http://raynix.info/archives/tag/ubuntu" rel="tag">Ubuntu</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://raynix.info/archives/1179/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Linux CLI笔记: sudoers &amp; user path</title>
		<link>http://raynix.info/archives/1055</link>
		<comments>http://raynix.info/archives/1055#comments</comments>
		<pubDate>Sun, 13 Jun 2010 01:14:31 +0000</pubDate>
		<dc:creator>raynix</dc:creator>
				<category><![CDATA[Free software]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://raynix.info/?p=1055</guid>
		<description><![CDATA[如何让一个普通用户可以执行部分或全部系统命令? 首先, 以root身份登录, 或者有sudo权的其它用户账号. 然后执行下列命令: chmod +w /etc/sudoers echo 'useraccount ALL=(ALL) NOPASSWD:ALL' &#62;&#62; /etc/sudoers chmod -w /etc/sudoers 参考链接 Add an account to the sudoer list? 这是最简单无脑的了, 有必要的话可以指定可以执行的每一条命令. 不过太详细了也就没必要写了, 可以用 man sudoers 一览无余. 关于PATH. 每个用户可能有一些个人常用路径, 可以这样填写到PATH: 编辑 ~/.bash_profile, 其中可能已经有这样一行了: PATH=$PATH:$HOME/bin 按照这个格式添加自己的路径就可以了, 例如: PATH=$PATH:$HOME/mywork © raynix for #raynix#, 2010. &#124; Permalink &#124; 唉, 一个评论都没 &#124; Add to del.icio.us [...]]]></description>
			<content:encoded><![CDATA[<p>如何让一个普通用户可以执行部分或全部系统命令?</p>
<p>首先, 以root身份登录, 或者有sudo权的其它用户账号. 然后执行下列命令:</p>
<blockquote><p>chmod +w /etc/sudoers<br />
echo 'useraccount ALL=(ALL) NOPASSWD:ALL' &gt;&gt; /etc/sudoers<br />
chmod -w /etc/sudoers</p></blockquote>
<p><strong>参考链接 <a href="http://ubuntuforums.org/showthread.php?t=162867&amp;page=2" target="_blank">Add an account to the sudoer list?</a></strong></p>
<p>这是最简单无脑的了, 有必要的话可以指定可以执行的每一条命令. 不过太详细了也就没必要写了, 可以用</p>
<blockquote><p>man sudoers</p></blockquote>
<p>一览无余.</p>
<p>关于PATH. 每个用户可能有一些个人常用路径, 可以这样填写到PATH:</p>
<p>编辑 ~/.bash_profile, 其中可能已经有这样一行了:</p>
<blockquote>
<div id="_mcePaste">PATH=$PATH:$HOME/bin</div>
</blockquote>
<div>按照这个格式添加自己的路径就可以了, 例如:</div>
<blockquote>
<div>
<div>PATH=$PATH:$HOME/mywork</div>
</div>
</blockquote>
<div> <img src='http://raynix.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </div>
<hr />
<p><small>© raynix for <a href="http://raynix.info">#raynix#</a>, 2010. |
<a href="http://raynix.info/archives/1055">Permalink</a> |
<a href="http://raynix.info/archives/1055#comments">唉, 一个评论都没</a> |
Add to
<a href="http://del.icio.us/post?url=http://raynix.info/archives/1055&title=Linux CLI笔记: sudoers &#038; user path">del.icio.us</a>
<br/>
Post tags: <a href="http://raynix.info/archives/tag/linux" rel="tag">linux</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://raynix.info/archives/1055/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>尝鲜: Ubuntu 10.04</title>
		<link>http://raynix.info/archives/1009</link>
		<comments>http://raynix.info/archives/1009#comments</comments>
		<pubDate>Wed, 05 May 2010 03:20:29 +0000</pubDate>
		<dc:creator>raynix</dc:creator>
				<category><![CDATA[Free software]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://raynix.info/?p=1009</guid>
		<description><![CDATA[Ubuntu 10.04 Lucid Lynx 很守时的出现了, 生命在于折腾, 于是我装上Lucid测试了一下. 集成了众多SNS的Broadcast(Gwibber) 更直观的软件中心 预装的ibus+拼音, 应该可以满足多数中文用户的需求了. 当然, 五笔也是有的. 尝鲜的代价: Lucid目前对双显示器支持还有问题, 希望高手尽快出patch吧. Update: 喜欢这个新logo. © raynix for #raynix#, 2010. &#124; Permalink &#124; 2 条评论 &#124; Add to del.icio.us Post tags: linux, Ubuntu Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p><a href="http://ubuntu.org.cn/" target="_blank">Ubuntu 10.04 Lucid Lynx</a> 很守时的出现了, 生命在于折腾, 于是我装上Lucid测试了一下.</p>
<p><a href="http://raynix.info/wp-content/uploads/2010/05/Desk-1_080.png"><img class="alignnone size-medium wp-image-1010" title="Desk 1_080" src="http://raynix.info/wp-content/uploads/2010/05/Desk-1_080-300x225.png" alt="" width="300" height="225" /><br />
</a>集成了众多SNS的Broadcast(Gwibber)</p>
<p><a href="http://raynix.info/wp-content/uploads/2010/05/Desk-1_081.png"><img class="alignnone size-medium wp-image-1011" title="Desk 1_081" src="http://raynix.info/wp-content/uploads/2010/05/Desk-1_081-300x225.png" alt="" width="300" height="225" /><br />
</a>更直观的软件中心</p>
<p><a href="http://raynix.info/wp-content/uploads/2010/05/Desk-1_082.png"><img class="alignnone size-medium wp-image-1012" title="Desk 1_082" src="http://raynix.info/wp-content/uploads/2010/05/Desk-1_082-300x225.png" alt="" width="300" height="225" /><br />
</a>预装的ibus+拼音, 应该可以满足多数中文用户的需求了. 当然, 五笔也是有的.</p>
<p>尝鲜的代价:</p>
<p>Lucid目前对双显示器支持还有问题, 希望高手尽快出patch吧.</p>
<p><a href="../wp-content/uploads/2010/05/1pwvle1im.png"><img title="1pwvle1im" src="../wp-content/uploads/2010/05/1pwvle1im-300x200.png" alt="" width="300" height="200" /></a><br />
Update: 喜欢这个新logo.</p>
<hr />
<p><small>© raynix for <a href="http://raynix.info">#raynix#</a>, 2010. |
<a href="http://raynix.info/archives/1009">Permalink</a> |
<a href="http://raynix.info/archives/1009#comments">2 条评论</a> |
Add to
<a href="http://del.icio.us/post?url=http://raynix.info/archives/1009&title=尝鲜: Ubuntu 10.04">del.icio.us</a>
<br/>
Post tags: <a href="http://raynix.info/archives/tag/linux" rel="tag">linux</a>, <a href="http://raynix.info/archives/tag/ubuntu" rel="tag">Ubuntu</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://raynix.info/archives/1009/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wine Is Not Emulator</title>
		<link>http://raynix.info/archives/748</link>
		<comments>http://raynix.info/archives/748#comments</comments>
		<pubDate>Wed, 04 Nov 2009 03:40:20 +0000</pubDate>
		<dc:creator>raynix</dc:creator>
				<category><![CDATA[Free software]]></category>
		<category><![CDATA[Opensource]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Wine]]></category>

		<guid isPermaLink="false">http://raynix.cn/?p=748</guid>
		<description><![CDATA[为了个Lotus Notes开个Windows虚拟机有点划不来。我干脆Wine一个Notes吧。 Wine+Notes 6.5的效果 VirtualBox +  WinXP + Notes 6.5 为了能正确显示中文，我先把Notes里的缺省字体设置为WenQuanYi，邮件内容就正常了，但是对话框的中文还是方块块。搜了一下，解决方法如下： 首先，把中文WinXP系统windows/fonts文件夹内的simsun.ttc和simhei.ttf两个字体文件copy到~/.wine/drive_c/windows/fonts。 然后，打开wine的registry： wine regedit 找到LOCAL_MACHINE/Softwares/Microsoft/Windows NT/CurrentVersion/FontSubstitudes，其中有两个键，MS Shell Dlg 和 MS Shell Dlg2，将值从Tohama改为SimSun，就可以了。:) © raynix for #raynix#, 2009. &#124; Permalink &#124; 唉, 一个评论都没 &#124; Add to del.icio.us Post tags: linux, Ubuntu, Wine Feed enhanced by Better Feed from Ozh]]></description>
			<content:encoded><![CDATA[<p>为了个Lotus Notes开个Windows虚拟机有点划不来。我干脆Wine一个Notes吧。</p>
<p><a href="http://raynix.info/wp-content/uploads/2009/11/screenshot_030.png"><img class="alignnone size-medium wp-image-749" title="screenshot_030" src="http://raynix.info/wp-content/uploads/2009/11/screenshot_030-300x218.png" alt="screenshot_030" width="300" height="218" /></a><br />
Wine+Notes 6.5的效果</p>
<p><a href="http://raynix.info/wp-content/uploads/2009/11/screenshot_031.png"><img class="alignnone size-medium wp-image-750" title="screenshot_031" src="http://raynix.info/wp-content/uploads/2009/11/screenshot_031-300x199.png" alt="screenshot_031" width="300" height="199" /></a><br />
VirtualBox +  WinXP + Notes 6.5</p>
<p>为了能正确显示中文，我先把Notes里的缺省字体设置为WenQuanYi，邮件内容就正常了，但是对话框的中文还是方块块。搜了一下，解决方法如下：</p>
<p>首先，把中文WinXP系统windows/fonts文件夹内的simsun.ttc和simhei.ttf两个字体文件copy到~/.wine/drive_c/windows/fonts。</p>
<p>然后，打开wine的registry：</p>
<blockquote><p>wine regedit</p></blockquote>
<p>找到LOCAL_MACHINE/Softwares/Microsoft/Windows NT/CurrentVersion/FontSubstitudes，其中有两个键，MS Shell Dlg 和 MS Shell Dlg2，将值从Tohama改为SimSun，就可以了。:)</p>
<hr />
<p><small>© raynix for <a href="http://raynix.info">#raynix#</a>, 2009. |
<a href="http://raynix.info/archives/748">Permalink</a> |
<a href="http://raynix.info/archives/748#comments">唉, 一个评论都没</a> |
Add to
<a href="http://del.icio.us/post?url=http://raynix.info/archives/748&title=Wine Is Not Emulator">del.icio.us</a>
<br/>
Post tags: <a href="http://raynix.info/archives/tag/linux" rel="tag">linux</a>, <a href="http://raynix.info/archives/tag/ubuntu" rel="tag">Ubuntu</a>, <a href="http://raynix.info/archives/tag/wine" rel="tag">Wine</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://raynix.info/archives/748/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>你去年夏天都做了什么？</title>
		<link>http://raynix.info/archives/746</link>
		<comments>http://raynix.info/archives/746#comments</comments>
		<pubDate>Tue, 03 Nov 2009 08:31:14 +0000</pubDate>
		<dc:creator>raynix</dc:creator>
				<category><![CDATA[Free software]]></category>
		<category><![CDATA[Opensource]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://raynix.cn/?p=746</guid>
		<description><![CDATA[标题是吓人的，哈哈。 转发一下下面这个时髦的让我懒得理解的命令，看看你使用最频繁的10个命令是什么？ history &#124; awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' &#124; grep -v "./" &#124; column -c3 -s " " -t &#124; sort -nr &#124; nl &#124; head -n10 我的统计结果： 1    102  20.4%  ls 2    91   18.2%  ssh 3    62   12.4%  ping 4    62   12.4%  cd 5   [...]]]></description>
			<content:encoded><![CDATA[<p>标题是吓人的，哈哈。</p>
<p>转发一下下面这个时髦的让我懒得理解的命令，看看你使用最频繁的10个命令是什么？</p>
<blockquote><p>history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10</p></blockquote>
<p>我的统计结果：</p>
<blockquote><p>1    102  20.4%  ls<br />
2    91   18.2%  ssh<br />
3    62   12.4%  ping<br />
4    62   12.4%  cd<br />
5    28   5.6%   iwlist<br />
6    21   4.2%   sudo<br />
7    18   3.6%   exit<br />
8    11   2.2%   python<br />
9    9    1.8%   cat<br />
10    7    1.4%   gedit</p></blockquote>
<p>你的TOP10是什么样子的？</p>
<hr />
<p><small>© raynix for <a href="http://raynix.info">#raynix#</a>, 2009. |
<a href="http://raynix.info/archives/746">Permalink</a> |
<a href="http://raynix.info/archives/746#comments">唉, 一个评论都没</a> |
Add to
<a href="http://del.icio.us/post?url=http://raynix.info/archives/746&title=你去年夏天都做了什么？">del.icio.us</a>
<br/>
Post tags: <a href="http://raynix.info/archives/tag/cli" rel="tag">CLI</a>, <a href="http://raynix.info/archives/tag/linux" rel="tag">linux</a><br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://raynix.info/archives/746/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
