Delete The Command Line History...

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Delete The Command Line History...

Postby Gunmetal_Ghoul on Thu Feb 26, 2009 5:45 pm

How do you delete the command line's history? Is it even possible?
Life's too short to keep things in their "out-of-the-box" condition....
User avatar
Gunmetal_Ghoul
Level 3
Level 3
 
Posts: 195
Joined: Tue Dec 09, 2008 4:34 pm

Linux Mint is funded by ads and donations.
 

Re: Delete The Command Line History...

Postby Husse on Thu Feb 26, 2009 7:35 pm

Why would you want to do that? It's very useful
Enable "View hidden files" in your home and you see it :)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Delete The Command Line History...

Postby Gunmetal_Ghoul on Thu Feb 26, 2009 8:23 pm

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.
Life's too short to keep things in their "out-of-the-box" condition....
User avatar
Gunmetal_Ghoul
Level 3
Level 3
 
Posts: 195
Joined: Tue Dec 09, 2008 4:34 pm

Re: Delete The Command Line History...

Postby awong on Fri Feb 27, 2009 2:52 pm

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! :)
awong
Level 2
Level 2
 
Posts: 62
Joined: Sat Jun 02, 2007 3:06 pm


Return to Tutorials / Howtos

Who is online

Users browsing this forum: peter_mike_warden and 8 guests