Welcome to WebmasterWorld Guest from 54.196.144.100

Forum Moderators: bakedjake

Message Too Old, No Replies

Command Line History

     

David

6:53 pm on Nov 28, 2001 (gmt 0)

10+ Year Member



What is the proper way to reset the bash comand line history. I see how to reset the size and how to set an alias, but can you clear it?

evinrude

8:03 pm on Nov 28, 2001 (gmt 0)

10+ Year Member



Dunno if there's actuall a command to clear it, I've always done:

echo > .bash_history

bartek

12:40 pm on Dec 4, 2001 (gmt 0)

10+ Year Member



history -c should work.