<?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: Limiting which commands are kept in the bash history file</title>
	<atom:link href="http://rackerhacker.com/2008/01/29/limiting-which-commands-are-kept-in-the-bash-history-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://rackerhacker.com/2008/01/29/limiting-which-commands-are-kept-in-the-bash-history-file/</link>
	<description>Words of wisdom from a server administrator</description>
	<lastBuildDate>Mon, 21 May 2012 12:07:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Antonio</title>
		<link>http://rackerhacker.com/2008/01/29/limiting-which-commands-are-kept-in-the-bash-history-file/#comment-16721</link>
		<dc:creator>Antonio</dc:creator>
		<pubDate>Thu, 28 Oct 2010 06:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://rackerhacker.com/2008/01/29/limiting-which-commands-are-kept-in-the-bash-history-file/#comment-16721</guid>
		<description>Sorry about resurrecting a two-year old post, but the information in it does not match my experience. 

I&#039;ve found that HISTCONTROL only modifies what appears when using the up and down keys.

If you want to omit commands from the shell history file, you can use the HISTIGNORE variable. For example, the following line in your profile will not save (consecutive) duplicates, commands starting with a space, or the &#039;exit&#039; command in your shell history:
export HISTIGNORE=&quot;&amp;: *:exit&quot;</description>
		<content:encoded><![CDATA[<p>Sorry about resurrecting a two-year old post, but the information in it does not match my experience. </p>
<p>I've found that HISTCONTROL only modifies what appears when using the up and down keys.</p>
<p>If you want to omit commands from the shell history file, you can use the HISTIGNORE variable. For example, the following line in your profile will not save (consecutive) duplicates, commands starting with a space, or the 'exit' command in your shell history:<br />
export HISTIGNORE="&amp;: *:exit"</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robot.terror@gmail.com</title>
		<link>http://rackerhacker.com/2008/01/29/limiting-which-commands-are-kept-in-the-bash-history-file/#comment-349</link>
		<dc:creator>robot.terror@gmail.com</dc:creator>
		<pubDate>Thu, 31 Jan 2008 18:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://rackerhacker.com/2008/01/29/limiting-which-commands-are-kept-in-the-bash-history-file/#comment-349</guid>
		<description>even better:

export HISTFILE=/dev/null

Nothing says &quot;propritary one-liners&quot; like writing history to /dev/null!</description>
		<content:encoded><![CDATA[<p>even better:</p>
<p>export HISTFILE=/dev/null</p>
<p>Nothing says "propritary one-liners" like writing history to /dev/null!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

