[Techtalk] duplicate bash history entries
Teri Solow
tsolow at terisolow.com
Mon Sep 13 12:37:00 EST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dennis Wheeler imparted (2004-09-13 @ 09:25:55 -0700):
> According to the man page, it appears it only compares the current
> command to the previous one. So two 'ls' in a row, and only one is
> remembered, but do an 'ls' followed by a 'cd' and another 'ls' and
> you'll have both 'ls' in the history.
>
> Not a very useful setting if that's true.
I beg to differ- for instance, if you aren't ignoring 'cd ..' in your
history than it is feasible that you may have about a gazillion
instances of it in your history. Really annoying if you are trying to
back up to anything past that. :)
Anyway, IMHO it just keeps the history neater.
- --
(n_ Teri Solow
//\ http://terisolow.com
V_/_
BOFH Excuse #32:
techtonic stress
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBRcysCRjPPiFbVe8RAltQAJoDFJytPxUE0n2516BcE/kjaOy4OwCfX/cX
ztVMmek5B+ZSpQUssOV3Lds=
=1vIj
-----END PGP SIGNATURE-----
More information about the Techtalk
mailing list