<?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; Linuxer</title>
	<atom:link href="http://www.jackq.com/tag/linuxer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jackq.com</link>
	<description>IT info. Experience Sharing.</description>
	<lastBuildDate>Tue, 31 Jan 2012 09:48:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Linuxer投票选出的10个最酷的 Linux 单行命令</title>
		<link>http://www.jackq.com/linuxer-vote-of-top-10-the-coolest-linux-one-line-commands/</link>
		<comments>http://www.jackq.com/linuxer-vote-of-top-10-the-coolest-linux-one-line-commands/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 15:04:29 +0000</pubDate>
		<dc:creator>Jack</dc:creator>
				<category><![CDATA[技术应用]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linuxer]]></category>

		<guid isPermaLink="false">http://www.jackq.com/?p=529</guid>
		<description><![CDATA[发现一个非常有趣的Linux帖子，转发了《10个最酷的 Linux 单行命令》，据说是来自 Commandlinefu 网站由用户投票决出的 10 个最酷的 Linux 单行命令，希望对你有用。 1.sudo !! 以 root 帐户身份执行上一条命令。 2.python -m SimpleHTTPServer 利用 Python 搭建一个简单的 Web 服务器，可通过 http://$HOSTNAME:8000 访问。 3.:w !sudo tee % 在 Vim 中无需权限保存编辑的文件。 4.cd - 更改到上一次访问的目录（超级常用）。 5.^foo^bar 将上一条命令中的 foo 替换为 bar，并执行。 6.cp filename{,.bak} 快速备份或复制文件。 7.mtr google.com traceroute + ping 命令。 8.!whatever:p 搜索命令历史，但不执行。 9.$ssh-copy-id user@host 将 ssh keys [...]]]></description>
			<content:encoded><![CDATA[<p>发现一个非常有趣的Linux帖子，转发了《10个最酷的 Linux 单行命令》，据说是来自 <a href="http://commandlinefu.com/">Commandlinefu</a> 网站由用户投票决出的 10 个最酷的  Linux 单行命令，希望对你有用。</p>
<blockquote><p>1.<span style="color: #800080;">sudo !!</span></p>
<p>以 root 帐户身份执行上一条命令。</p></blockquote>
<blockquote><p>2.<span style="color: #800080;">python -m SimpleHTTPServer</span></p>
<p>利用 Python 搭建一个简单的 Web 服务器，可通过 http://$HOSTNAME:8000 访问。</p></blockquote>
<blockquote><p>3.<span style="color: #800080;">:w !sudo tee %</span></p>
<p>在 Vim 中无需权限保存编辑的文件。</p></blockquote>
<blockquote><p>4.<span style="color: #800080;">cd -</span></p>
<p>更改到上一次访问的目录（超级常用）。</p></blockquote>
<blockquote><p>5.<span style="color: #800080;">^foo^bar</span></p>
<p>将上一条命令中的 foo 替换为 bar，并执行。</p></blockquote>
<blockquote><p>6.<span style="color: #800080;">cp filename{,.bak}</span></p>
<p>快速备份或复制文件。</p></blockquote>
<blockquote><p>7.<span style="color: #800080;">mtr google.com</span></p>
<p>traceroute + ping 命令。</p></blockquote>
<blockquote><p>8.<span style="color: #800080;">!whatever:p</span></p>
<p>搜索命令历史，但不执行。</p></blockquote>
<blockquote><p>9.<span style="color: #800080;">$ssh-copy-id user@host</span></p>
<p>将 ssh keys 复制到 user@host 以启用无密码 SSH 登录。</p></blockquote>
<blockquote><p>10.<span style="color: #800080;">ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg</span></p>
<p>把 Linux 桌面录制为视频，非常有趣。</p></blockquote>
<p>感兴趣的同学可以在linux虚拟机里尝试，不熟悉的话不要直接在服务器上操作哦 *—*</p>
<p>到这里访问 <a href="http://www.commandlinefu.com" target="_blank">Commandlinefu</a> 地址：<a href="http://www.commandlinefu.com">http://www.commandlinefu.com</a> 是一个关于CLI的网站。</p>
<p>原文地址：<a href="http://linuxtoy.org/archives/top-10-one-liners.html">http://linuxtoy.org/archives/top-10-one-liners.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jackq.com/linuxer-vote-of-top-10-the-coolest-linux-one-line-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

