How can I clear the command history in Linux? Commands Add comments Dec 252009 How can I clear the command history in Linux? Answer: Try: history -c Related posts: How to avoid saving current shell session history How to clear the screen in Linux How to avoid command being saved to shell history Display timestamp information in command history Quickly clear the screen Leave a Reply Cancel reply Name (required) E-mail (required) URI Your Comment You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>