How To Delete Command History In Ubuntu

FREQUENTLY ASKED QUESTIONS (Ubuntu)
Q: How to delete commands history in Ubuntu linux?

If you do not want to keep all the commands you typed in the linux bash history, you can run the "history" connabd to clear all the previously run commands. It will clear the command history in linux of the logged in user.( clearing command history of currently logged in user only)
How do i Remove command history in Ubuntu.
user@ubuntu:~$ history -c

or 

user@ubuntu:~$ rm ~/.bash_history

0 comments:

Related Posts Plugin for WordPress, Blogger...

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons