Skip to content

How can I clear the command history in Linux?

How can I clear the command history in Linux?

Answer:

Try:

history -c

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  1. How to avoid saving current shell session history
  2. How to clear the screen in Linux
  3. Quickly clear the screen
  4. How to avoid command being saved to shell history
  5. How to check which directory used up most of the disk space?

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*