<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to Clear Command Line History</title>
	<atom:link href="http://osxdaily.com/2012/12/17/how-to-clear-command-line-history/feed/" rel="self" type="application/rss+xml" />
	<link>http://osxdaily.com/2012/12/17/how-to-clear-command-line-history/</link>
	<description>News, tips, software, reviews, and more for Mac OS X, iPhone, iPad</description>
	<lastBuildDate>Fri, 24 May 2013 05:38:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: roxb</title>
		<link>http://osxdaily.com/2012/12/17/how-to-clear-command-line-history/#comment-472815</link>
		<dc:creator>roxb</dc:creator>
		<pubDate>Sat, 05 Jan 2013 16:13:57 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=34974#comment-472815</guid>
		<description>bash clean history 

alias cleanH=&#039;history -c;echo &quot;&quot;&gt; ~/.bash_history&#039;

add alias in ~/.bashrc

cya</description>
		<content:encoded><![CDATA[<p>bash clean history </p>
<p>alias cleanH=&#8217;history -c;echo &#8220;&#8221;&gt; ~/.bash_history&#8217;</p>
<p>add alias in ~/.bashrc</p>
<p>cya</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nolan</title>
		<link>http://osxdaily.com/2012/12/17/how-to-clear-command-line-history/#comment-466878</link>
		<dc:creator>nolan</dc:creator>
		<pubDate>Wed, 19 Dec 2012 23:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=34974#comment-466878</guid>
		<description>how about if you dont want history saved at all and tired of typing history -c. HISTSIZE=0 will not save anything to history.</description>
		<content:encoded><![CDATA[<p>how about if you dont want history saved at all and tired of typing history -c. HISTSIZE=0 will not save anything to history.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://osxdaily.com/2012/12/17/how-to-clear-command-line-history/#comment-466521</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Wed, 19 Dec 2012 09:30:01 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=34974#comment-466521</guid>
		<description>if you want exit without saving the history session:

$ kill -9 $$</description>
		<content:encoded><![CDATA[<p>if you want exit without saving the history session:</p>
<p>$ kill -9 $$</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: @Peter</title>
		<link>http://osxdaily.com/2012/12/17/how-to-clear-command-line-history/#comment-466200</link>
		<dc:creator>@Peter</dc:creator>
		<pubDate>Tue, 18 Dec 2012 18:54:15 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=34974#comment-466200</guid>
		<description>I think you mean ctrl-R.</description>
		<content:encoded><![CDATA[<p>I think you mean ctrl-R.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://osxdaily.com/2012/12/17/how-to-clear-command-line-history/#comment-466108</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 18 Dec 2012 16:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=34974#comment-466108</guid>
		<description>Keeping the history file can be useful:

Bash has an instant reverse search function. To search through old commands, press cmd-R and then start typing any part of a command previously used. Quite handy...</description>
		<content:encoded><![CDATA[<p>Keeping the history file can be useful:</p>
<p>Bash has an instant reverse search function. To search through old commands, press cmd-R and then start typing any part of a command previously used. Quite handy&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bv7</title>
		<link>http://osxdaily.com/2012/12/17/how-to-clear-command-line-history/#comment-465829</link>
		<dc:creator>bv7</dc:creator>
		<pubDate>Tue, 18 Dec 2012 07:29:46 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=34974#comment-465829</guid>
		<description>Thanks I didn&#039;t know this command It&#039;s good :)</description>
		<content:encoded><![CDATA[<p>Thanks I didn&#8217;t know this command It&#8217;s good <img src='http://cdn.osxdaily.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pkt</title>
		<link>http://osxdaily.com/2012/12/17/how-to-clear-command-line-history/#comment-465548</link>
		<dc:creator>pkt</dc:creator>
		<pubDate>Mon, 17 Dec 2012 19:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=34974#comment-465548</guid>
		<description>Should work with other shells as well, but .sh_history, .tsch_history etc are easy to remove anyway.</description>
		<content:encoded><![CDATA[<p>Should work with other shells as well, but .sh_history, .tsch_history etc are easy to remove anyway.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/3 queries in 0.003 seconds using disk: basic
Object Caching 260/260 objects using disk: basic
Content Delivery Network via cdn.osxdaily.com

Served from: osxdaily.com @ 2013-05-24 07:10:30 -->