selective command history
Suvayu Ali
fatkasuvayu+linux at gmail.com
Sat Sep 18 14:02:33 UTC 2010
On Saturday 18 September 2010 04:40 AM, Aaron Konstam wrote:
> Ok, maybwe we have reached an impass. I did run . .bash_profile and did
> not see your described behavior.
>
This is what I see.
> $ HISTCONTROL=ignorespace
> $ echo $HISTCONTROL
> ignorespace
> $ ls -d */
> bin/ codebaby/ firefox/ kagajpatra/ rpmbuild/ tmp/
> bugzilla/ Desktop/ gaanbajna/ Mail/ scripts/ Videos/
> build/ dloads/ GNUstep/ org/ Suvayu/
> chalochitra/ dox/ iMacros/ Public/ Templates/
> chhobi/ eBoi/ imp-deps/ R00Tdox/ temp_latex/
> $ ls Templates/
> pro-grey-outlines.otp QuickResults.otp Research-talks.otp rt-hand-margin.otp
> $ man ls
> $ man man
> $ exit
After the above session, my history file looks like this.
> $ tail -5 .bash_history
> echo $HISTCONTROL
> HISTCONTROL=ignorespace
> echo $HISTCONTROL
> ls -d */
> man ls
I hope that clears it.
--
Suvayu
Open source is the future. It sets us free.
More information about the users
mailing list