Welcome to WebmasterWorld Guest from 184.73.126.70

Forum Moderators: bakedjake

Message Too Old, No Replies

Command Line History

   
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?
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

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

10+ Year Member



history -c should work.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month