How do you clear your command history? I don't mean the history you get when you run
and that you can delete with
I mean the history you get when you press up on your keyboard and it shows you the last few commands that you have run (and allows you to reexecute them if you want to).
I noticed a file in my home directory ~/.history
It contained the history of my commands. I tried deleting the file, but when I logout and log back in, the .history file is recreated with all the history still there. I guess it must store it in memory. So how do you go about clearing the command history?
btw, I'm using tcsh