Delete file .bash_history under your home directory.
VA
> If I press button "up" I can see all comand which I write before.
> How can I clear this command history under suse linux 8.0?
Do you want to clear it permanently, or only one instance of the
shell?
To clear it in the current shell, use "history -c".
To remove it permenently, delete $HOME/.bash_history.
--
Chris F.A. Johnson http://cfaj.freeshell.org
=================================================================
Everything in moderation -- including moderation
> If I press button "up" I can see all comand which I write before. How
> can I clear this command history under suse linux 8.0?
If you don't want a history at all:
ln -sf /dev/null ~/.bash_history
To reenable the history:
rm ~/.bash_history
Karsten
--
Homepage, Mac68k, A/UX-Links und Shorties: www.tecneeq.de
() Linux/NetBSD-Anleitungen, Forum und Chat: www.newbie-net.de
<\/>
_/\_ Slowly and surely the unix crept up on the Nintendo user ...
Instead you should set ths HISTFILE variable to /dev/null. Or set
HISTSIZE to 1.
--
LucM
Visit your friends
> www.gnu.org
> www.greenpeace.org
Clear up command history
$ history -c
((
$ history
10 ls
20 cd ~
$ !10
))
// moma
http://www.futuredesktop.org/how2burn.html
> > If you don't want a history at all:
> > ln -sf /dev/null ~/.bash_history
> Instead you should set ths HISTFILE variable to /dev/null. Or set
> HISTSIZE to 1.
I agree ;).