Terminal History



Just a short and quick how to here on viewing and deleting the history in the terminal.
By default, up to 500 commands that you have used are saved into a hidden file ( ~/.bash_history). You can access these commands by using your up/down keys on your keyboard - which makes it easy to retrieve and reuse them. To view all the entries within the history, run the command

history

This will then display each entry within the .bash_history file. IF you are wanting to clear your history, rather then deleting all the information within the above file, just use the command:
history -c

If you have a number of different users on your laptop / pc, you will need to run this command on each user account.




Share your views...

0 Respones to "Terminal History"

Post a Comment

 

About Me

Hey! I'm Jam, a part time web developer / blogger form the UK. I have a love for anything involving Artificial Intelligence, and robotics.

I'm also quite a fan of Ubuntu Linux! And I'm guessing you are since you're here? If you would like to contribute your own posts to this blog, then please get in touch!

Thinking about getting your own website? Click on the below link for great prices, and great designs!

Jam1e.co.uk

Our Partners

Would you like to see your link here? Contact us to find out how!

© 2010 Jam's Ubuntu Linux Blog All Rights Reserved Thesis WordPress Theme Converted into Blogger Template by Hack Tutors.info