Re: How to clear the command history in Red Hat Linux 8
- From: Matt Giwer <jull43@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 22:20:31 GMT
Nico Kadel-Garcia wrote:
Jean-David Beyer wrote:
Pandi K wrote:
How to clear the command history in Red Hat Linux 8
Wrong question. Red Hat Linux 8 does not store a command history.
Most (perhaps all) the shells do. You might read the documentation
for the shell you are using.
Well, yes. Pandi? If you have a normal account in RedHat 8, your shell is /bin/bash. You cah check it by typing "getid myusername", or lots of other commands.
If you examine the documentation for bash, you'll see that it is "history -c".
But that apparently only sets a pointer to the last when invoked. .bash_history is still there unchanged. Not so good if the purpose is security.
--
Bushwhacked and Bushwhackers have opposite meanings.
-- The Iron Webmaster, 3602
nizkor http://www.giwersworld.org/nizkook/nizkook.phtml
environmentalism http://www.giwersworld.org/environment/aehb.phtml a9
.
- References:
- How to clear the command history in Red Hat Linux 8
- From: Pandi K
- Re: How to clear the command history in Red Hat Linux 8
- From: Jean-David Beyer
- Re: How to clear the command history in Red Hat Linux 8
- From: Nico Kadel-Garcia
- How to clear the command history in Red Hat Linux 8
- Prev by Date: Re: How to clear the command history in Red Hat Linux 8
- Next by Date: Re: SElinux and vmware-guestd appear to be arguing over hgfs
- Previous by thread: Re: How to clear the command history in Red Hat Linux 8
- Next by thread: Re: How to clear the command history in Red Hat Linux 8
- Index(es):
Relevant Pages
|