PDA

View Full Version : [ubuntu] Clear ALL console history



Racecar56
November 23rd, 2008, 11:37 PM
I want to clear the thing where you press up and it gives you the previous command you did, because it gets annoying sometimes, how do I do that? Typing 'clear' (without quotes) in the console only clears the text but it does not clear what I am talking about (the up thing).

binbash
November 23rd, 2008, 11:39 PM
rm .bash_history

philinux
November 23rd, 2008, 11:40 PM
It's stored in this file
/home/username/.bash_history

I find it very useful since in gedit you can search the file.

Racecar56
November 23rd, 2008, 11:54 PM
WOOT!
Will it also delete the history auto of the CTRL+ALT+F* thing too? I would think so...