Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-19-2004, 11:09 AM   #1
Registered: Aug 2004
Location: philippines
Posts: 51

Rep: Reputation: 15
how to del the history

how can i del the history in my linux box(RH)? ive 2 user and 1 root access but on the user one is also has a root permission but when ever i del the .bash_history and type the command history i can see the command and things that i do .. how can it be erased permanently..
Old 09-19-2004, 11:16 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
To completely clear it:
history -c

To return it to the same as it was before you logged in:
history -r
Old 09-19-2004, 11:27 AM   #3
Registered: Aug 2004
Location: philippines
Posts: 51

Original Poster
Rep: Reputation: 15
hi david thnx for the instruction it works ..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot route del ciscohead Linux - Networking 2 10-03-2005 09:53 AM
How to find back "history" database after "history -c" ? san_lss Linux - Newbie 1 01-07-2004 11:53 AM
DEL linux? JreL Linux - Software 2 08-14-2003 12:50 PM
Do I can del them? explorer1979 Linux - General 1 02-20-2003 02:21 AM
How to del all history in Linux explorer1979 Linux - General 18 10-17-2002 05:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration