<?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 Add Date And Time To Your Bash History file</title>
	<atom:link href="http://www.debianadmin.com/how-to-add-date-and-time-to-your-bash-history-file.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.debianadmin.com/how-to-add-date-and-time-to-your-bash-history-file.html</link>
	<description>Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips</description>
	<lastBuildDate>Thu, 19 Nov 2009 13:24:32 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: nima0102</title>
		<link>http://www.debianadmin.com/how-to-add-date-and-time-to-your-bash-history-file.html/comment-page-1#comment-3018</link>
		<dc:creator>nima0102</dc:creator>
		<pubDate>Thu, 21 May 2009 20:11:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/?p=823#comment-3018</guid>
		<description>thanks for your trick :)</description>
		<content:encoded><![CDATA[<p>thanks for your trick <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kostya Berger</title>
		<link>http://www.debianadmin.com/how-to-add-date-and-time-to-your-bash-history-file.html/comment-page-1#comment-2938</link>
		<dc:creator>Kostya Berger</dc:creator>
		<pubDate>Fri, 15 May 2009 00:18:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/?p=823#comment-2938</guid>
		<description>I like those enhancements, guys! :-)
Only, it gives me this &quot;wise reminder&quot; after every ENTER hit in the BASH prompt:
bash: history: cannot use more than one of -anrw

...although, I must admit it, I&#039;m not in &quot;Lenny&quot;, I&#039;m in OpenSuSE 11.1. But I guess BASH is distro-independent, eh? GPL software and all that...</description>
		<content:encoded><![CDATA[<p>I like those enhancements, guys! <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
Only, it gives me this &#8220;wise reminder&#8221; after every ENTER hit in the BASH prompt:<br />
bash: history: cannot use more than one of -anrw</p>
<p>&#8230;although, I must admit it, I&#8217;m not in &#8220;Lenny&#8221;, I&#8217;m in OpenSuSE 11.1. But I guess BASH is distro-independent, eh? GPL software and all that&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rangalo</title>
		<link>http://www.debianadmin.com/how-to-add-date-and-time-to-your-bash-history-file.html/comment-page-1#comment-2907</link>
		<dc:creator>rangalo</dc:creator>
		<pubDate>Mon, 11 May 2009 13:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/?p=823#comment-2907</guid>
		<description>I had to replace the double quotes with single quotes to get this working</description>
		<content:encoded><![CDATA[<p>I had to replace the double quotes with single quotes to get this working</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Tulke</title>
		<link>http://www.debianadmin.com/how-to-add-date-and-time-to-your-bash-history-file.html/comment-page-1#comment-2904</link>
		<dc:creator>Robert Tulke</dc:creator>
		<pubDate>Mon, 11 May 2009 08:32:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/?p=823#comment-2904</guid>
		<description># My .bashrc HISTORY ;)

export HISTTIMEFORMAT=&#039;%F %T &#039;  # time entry for .bash_history
export HISTCONTROL=ignoredups   # eliminate continuous occurrences duplicates
export HISTSIZE=100000          # big big histfile
shopt -s histappend             # append to history, don&#039;t overwrite it

# Save and reload the history after each command finishes
export PROMPT_COMMAND=&quot;history -a; history -r; $PROMPT_COMMAND&quot;</description>
		<content:encoded><![CDATA[<p># My .bashrc HISTORY <img src='http://www.debianadmin.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>export HISTTIMEFORMAT=&#8217;%F %T &#8216;  # time entry for .bash_history<br />
export HISTCONTROL=ignoredups   # eliminate continuous occurrences duplicates<br />
export HISTSIZE=100000          # big big histfile<br />
shopt -s histappend             # append to history, don&#8217;t overwrite it</p>
<p># Save and reload the history after each command finishes<br />
export PROMPT_COMMAND=&#8221;history -a; history -r; $PROMPT_COMMAND&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Tulke</title>
		<link>http://www.debianadmin.com/how-to-add-date-and-time-to-your-bash-history-file.html/comment-page-1#comment-2903</link>
		<dc:creator>Robert Tulke</dc:creator>
		<pubDate>Mon, 11 May 2009 07:56:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/?p=823#comment-2903</guid>
		<description>In short:

export HISTTIMEFORMAT=&#039;%F %T &#039;
export HISTCONTROL=ignoredups
export HISTCONTROL=ignoreboth
export HISTSIZE=5000</description>
		<content:encoded><![CDATA[<p>In short:</p>
<p>export HISTTIMEFORMAT=&#8217;%F %T &#8216;<br />
export HISTCONTROL=ignoredups<br />
export HISTCONTROL=ignoreboth<br />
export HISTSIZE=5000</p>
]]></content:encoded>
	</item>
</channel>
</rss>
