Welcome to WebmasterWorld Guest from 54.167.111.180

Forum Moderators: bakedjake

Message Too Old, No Replies

Command Line History

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

Preferred Member

10+ Year Member

joined:Oct 26, 2000
posts:414
votes: 0


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)

Full Member

10+ Year Member

joined:Feb 28, 2001
posts:208
votes: 0


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)

Full Member

10+ Year Member

joined:June 14, 2000
posts:247
votes: 0


history -c should work.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members