Delete The Command Line History...

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
Gunmetal_Ghoul

Delete The Command Line History...

Post by Gunmetal_Ghoul »

How do you delete the command line's history? Is it even possible?
Husse

Re: Delete The Command Line History...

Post by Husse »

Why would you want to do that? It's very useful
Enable "View hidden files" in your home and you see it :)
Gunmetal_Ghoul

Re: Delete The Command Line History...

Post by Gunmetal_Ghoul »

I just want to (go figure). I found out from skipping over to the Ubuntu forums; just go to your home folder and click under "view" and enable "show hidden files" and then go and delete ".bash_history". Pretty easy. Consider my question answered.
awong
Level 2
Level 2
Posts: 55
Joined: Sat Jun 02, 2007 3:06 pm

Re: Delete The Command Line History...

Post by awong »

Gunmetal_Ghoul wrote:How do you delete the command line's history? Is it even possible?

Code: Select all

history -c
will clear the command line history; there's so much fun that you can have with the cli! :)
Post Reply

Return to “Tutorials”