cli History

Rahul Sundaram sundaram at redhat.com
Mon May 9 06:21:40 UTC 2005


Mark Sargent wrote:

> Hi All,
>
> where is the history of commands kept..? What are the ways of deleting 
> them(individually or as a whole)..? I just had an experience where all 
> my history just disappeared. Cheers.
>
> Mark Sargent
>
>
 History is stored in the file that the environment variable that 
HISTFILE points to which is  /home/<username>/.bash_history by default. 
history -c will delete them all

regards
Rahul




More information about the users mailing list