<?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>ubuntu,debian,redhat -linuxany.com &#187; export</title>
	<atom:link href="http://www.linuxany.com/archives/tag/export/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxany.com</link>
	<description></description>
	<lastBuildDate>Thu, 26 Jan 2012 08:59:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>History命令用法</title>
		<link>http://www.linuxany.com/archives/804.html</link>
		<comments>http://www.linuxany.com/archives/804.html#comments</comments>
		<pubDate>Mon, 17 Aug 2009 17:27:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Shell]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[history]]></category>

		<guid isPermaLink="false">http://www.linuxany.com/?p=804</guid>
		<description><![CDATA[如果你经常使用 Linux 命令行，那么使用 history命令可以有效地提升你的效率。本文将通过实例的方式向你介绍 history 命令的 若干个用法。 使用 HISTTIMEFORMAT 显示时间戳 当你从命令行执行 history 命令后，通常只会显示已执行命令的序号和命令本身。如果你想要查看命令历史的时间戳，那么可以执行： 引用 # export HISTTIMEFORMAT=&#8217;%F %T &#8216; # history &#124; more 1 2008-08-05 19:02:39 service network restart 2 2008-08-05 19:02:39 exit 3 2008-08-05 19:02:39 id 4 2008-08-05 19:02:39 cat /etc/redhat-release 还有其他的参数可供使用： 引用 export HISTTIMEFORMAT=”%h/%d &#8211; %H:%M:%S ” 使用 Ctrl+R 搜索历史 Ctrl+R 是我经常使用的一个快捷键。此快捷键让你对命令历史进行搜索，对于想要重复执行某个命令的时候非常有用。当找到命令后，通常再按回车键就可以执行该命令。如果想对找到的命令进行调整后再执行，则可以按一下左或右方向键。 引用 [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/804.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

