Quick Tip: Clear Terminal Command History

terminal

If you’ve ever wanted to erase your command history (much like your browser history), take note of these two commands:

List history of entered commands:

 history

Clear the history of entered commands:

history -c

That’s it. There really isn’t a huge reason to clear the command cache other than cleaning your slate, just in case you did something you are not supposed to 😉

_professor

Advertisements

About professorkaos64

www.libregeek.org

Posted on 20130628, in Quick Tips and tagged , , , . Bookmark the permalink. 1 Comment.

  1. anthonyvenable110

    Reblogged this on anthonyvenable110.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s