cli History
Ow Mun Heng
Ow.Mun.Heng at wdc.com
Tue May 10 03:27:15 UTC 2005
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
More information about the users
mailing list