bash history

John Abreau jabr at abreau.net
Thu Mar 7 12:42:16 EST 2002


-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 7 Mar 2002, Rob Ransbottom wrote:

> If I recall correctly Bourne shell behavior in System V
> was to save the last commands into the history file.
> Or maybe it was early ksh.
> 
> With GNU bash, version 2.03.0(1)-release (i386-pc-linux-gnu),
> I get HISTSIZE lines of history, then new commands are not
> entered into history.  The history file is repeatedly
> truncated at the same point.
> 
> This seems inconsistent with the documentation.
> Am I missing a switch someplace or what?
> 

Are yo doing this under X with multiple terminal windows? Or perhaps using 
startx from a command-line login? Multiple instances of bash don't know 
about each other, so the last one to exit gets the last chance to 
overwrite .bash_history.

- -- 
John Abreau / Executive Director, Boston Linux & Unix 
ICQ 28611923 / AIM abreauj / JABBER jabr at jabber.org / YAHOO abreauj
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQCVAwUBPIemf1V9A5rVx7XZAQEUMwQA0T3IntbgK5dUmUTT7rXe/DlFTU1U8XiY
wwf69Q7qDTDqUDDXIj9fkCZQPhOo8Wgrg4vRmlq7bbvp1YnaRChLHMveab9WECpA
2JQ0Lm7l3Z/ruF4G1ofHYwh4PzutKWGkZIl//AYXed1lZrIxr8MEYM3lxc8RljvI
sCiATzFalkI=
=DjIZ
-----END PGP SIGNATURE-----




More information about the Discuss mailing list