On Mon, 20 Nov 2000, Bret Hughes wrote:
> Marco Shaw wrote:
>
> > Not sure if you're refering to the actual user's history. It's usually in
> > the user's home directory in '.sh_history'.
>
> on my rh6.2 box the file is .bash_history (of course I run bash as my shell)
the way bash works, when you log in, if there is a .bash_history file,
it is loaded into the shell and all subsequent history is stored inside
the shell. this history is written back to .bash_history upon logout.
you can always override the choice of history file with HISTFILE.
this means you can "rm .bash_history" after you log in, but it will
all have been loaded already, so it will be restored upon logout.
it also means that logins with the same username will be competing
for the same history file.
rday
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list