<?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: Quickzi: How To Delete Bash History</title>
	<atom:link href="http://www.foogazi.com/2008/06/25/how-to-delete-bash-history/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.foogazi.com/2008/06/25/how-to-delete-bash-history/</link>
	<description>Linux Tips, Tricks, and Opinions</description>
	<lastBuildDate>Wed, 27 Jun 2012 07:49:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
	<item>
		<title>By: Tron</title>
		<link>http://www.foogazi.com/2008/06/25/how-to-delete-bash-history/comment-page-1/#comment-169515</link>
		<dc:creator>Tron</dc:creator>
		<pubDate>Thu, 10 Nov 2011 20:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=247#comment-169515</guid>
		<description>Never use rm -rf with wildcards... please...</description>
		<content:encoded><![CDATA[<p>Never use rm -rf with wildcards&#8230; please&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Radu</title>
		<link>http://www.foogazi.com/2008/06/25/how-to-delete-bash-history/comment-page-1/#comment-155044</link>
		<dc:creator>Radu</dc:creator>
		<pubDate>Wed, 28 Sep 2011 00:14:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=247#comment-155044</guid>
		<description>Disable the usage of history using HISTSIZE

1. HISTSIZE=0
   export HISTSIZE

2. Force history not to remember a particular command 

export HISTCONTROL=ignorespace

3. Ignore specific commands from the history using HISTIGNORE

export HISTIGNORE=&quot;vi:ls -alrt:ifconfig&quot; ...etc


Cheers</description>
		<content:encoded><![CDATA[<p>Disable the usage of history using HISTSIZE</p>
<p>1. HISTSIZE=0<br />
   export HISTSIZE</p>
<p>2. Force history not to remember a particular command </p>
<p>export HISTCONTROL=ignorespace</p>
<p>3. Ignore specific commands from the history using HISTIGNORE</p>
<p>export HISTIGNORE=&#8221;vi:ls -alrt:ifconfig&#8221; &#8230;etc</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aggie4life</title>
		<link>http://www.foogazi.com/2008/06/25/how-to-delete-bash-history/comment-page-1/#comment-141777</link>
		<dc:creator>aggie4life</dc:creator>
		<pubDate>Wed, 10 Aug 2011 23:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=247#comment-141777</guid>
		<description>I created the following alias:

alias clearhist=&#039;rm ~/.bash_history &amp;&amp; history -c &amp;&amp; exit&#039;

This seems to clear everything without leaving any sort of trail...

(It was created based on this site, I must confess)</description>
		<content:encoded><![CDATA[<p>I created the following alias:</p>
<p>alias clearhist=&#8217;rm ~/.bash_history &amp;&amp; history -c &amp;&amp; exit&#8217;</p>
<p>This seems to clear everything without leaving any sort of trail&#8230;</p>
<p>(It was created based on this site, I must confess)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sudo</title>
		<link>http://www.foogazi.com/2008/06/25/how-to-delete-bash-history/comment-page-1/#comment-119348</link>
		<dc:creator>sudo</dc:creator>
		<pubDate>Tue, 24 May 2011 14:12:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=247#comment-119348</guid>
		<description>Root is right, avoid using -rf unless necessary.</description>
		<content:encoded><![CDATA[<p>Root is right, avoid using -rf unless necessary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: root</title>
		<link>http://www.foogazi.com/2008/06/25/how-to-delete-bash-history/comment-page-1/#comment-86468</link>
		<dc:creator>root</dc:creator>
		<pubDate>Wed, 12 Jan 2011 17:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=247#comment-86468</guid>
		<description>The -rf is completely unnecessary, and will only break things if you typo something else in the command.</description>
		<content:encoded><![CDATA[<p>The -rf is completely unnecessary, and will only break things if you typo something else in the command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.foogazi.com/2008/06/25/how-to-delete-bash-history/comment-page-1/#comment-42095</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 02 Jul 2009 03:06:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=247#comment-42095</guid>
		<description>Very thorough. I though there was also a special signal like this?
killall -(something) bash</description>
		<content:encoded><![CDATA[<p>Very thorough. I though there was also a special signal like this?<br />
killall -(something) bash</p>
]]></content:encoded>
	</item>
</channel>
</rss>
