Re: cli History

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2005-05-09 at 11:51 +0530, Rahul Sundaram wrote:
> 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
> 

If you don't want the history file at all, I suggest you do

export HISTSIZE=0


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 11:26:52 up 19:01, 8 users, load average: 0.89, 0.78, 0.66 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux