This is a discussion on help within the Linux Administration forums, part of the Linux Forums category; i am a new linux user. i am using redhat linux 9 please help to clear history commands list...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
In article <a54873bf.0409012142.97d395a@posting.google.com> , arulmurugan wrote:
>please help to clear history commands list Why? That's normally quite a useful tool. See the man page for your shell (i.e. 'man bash') and look for the section on HISTORY. I'm guessing you want to unset HISTFILE, and then delete the .bash_history file in your home directory. That's _probably_ not a good idea, but it's your environment. If you just want to hid the command where you did something illegal or stupid, read that section above and learn about editing the history. Old guy |