Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-21-2017, 05:44 AM
|
#1
|
LQ Newbie
Registered: May 2017
Posts: 6
Rep: 
|
How to clear permanent history in linux???
How can i clear history permanently in linux...???
|
|
|
05-21-2017, 05:47 AM
|
#2
|
Member
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 759
Rep: 
|
I think you need to clarify what history. Browser history? Command line history? All activity?
Cheers
|
|
|
05-21-2017, 05:53 AM
|
#3
|
LQ Newbie
Registered: May 2017
Posts: 6
Original Poster
Rep: 
|
I want all command history????
|
|
|
05-21-2017, 05:54 AM
|
#4
|
LQ Newbie
Registered: May 2017
Posts: 6
Original Poster
Rep: 
|
May be u can help me with browser history too....
|
|
|
05-21-2017, 10:49 AM
|
#5
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375
|
clears BASH history, but there maybe other things recording the history such as auditd.
|
|
1 members found this post helpful.
|
05-21-2017, 11:00 AM
|
#6
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,268
|
The browser should have the option to clear all the history (or cookies): try looking in its menu under settings, or preferences. It may be "buried" — in this one I need Settings - Preferences - Advanced.
Flash cookies are different, since the browser doesn't know they are there. They'll be in places like
.macromedia/Flash_Player/
.adobe/Flash_Player/
and it's a good idea to delete them now and then.
|
|
1 members found this post helpful.
|
05-21-2017, 11:03 AM
|
#7
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,398
|
Quote:
Originally Posted by kunal_777
May be u can help me with browser history too....
|
The way that you delete browser history varies somewhat from one browser to another. Go into the your browser options, settings, or preferences. Some browsers have a setting to delete history and/or cookies every time you close the browser. Some browsers have a menu entry called "tools". Click on tools and you may find menu entries to delete history and/or cookies for one time only. There are some browsers which have both types of options.
The browser which does the best job of removing cookies, history, etc. is Vivaldi. Vivaldi is a fairly new browser created by one of the founders of the Opera browser. Vivaldi has come a long way very fast and I think that the current version of Vivaldi is the best browser available. Vivaldi shines when it comes to keeping web sites from mining information from your history and cookies, provided that you set the Vivaldi options to do so.
---------------------
Steve Stites
Last edited by jailbait; 05-21-2017 at 11:05 AM.
|
|
1 members found this post helpful.
|
05-22-2017, 02:58 AM
|
#8
|
LQ Newbie
Registered: May 2017
Posts: 2
Rep: 
|
ln -sf /dev/null /home/your-username/.bash_history
Or use a liveDVD. Nothing will be retain after a reboot like cookies, website visits, etc
Last edited by TempLinux; 05-22-2017 at 03:00 AM.
|
|
1 members found this post helpful.
|
05-22-2017, 08:24 AM
|
#9
|
LQ Newbie
Registered: May 2017
Posts: 6
Original Poster
Rep: 
|
Thanks for giving me the solution's anyway...thanks....
|
|
|
05-22-2017, 08:14 PM
|
#10
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
Bleachbit is good program to clear all histories.
|
|
1 members found this post helpful.
|
05-23-2017, 01:59 PM
|
#11
|
Senior Member
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,019
|
Quote:
Originally Posted by r3sistance
clears BASH history, but there maybe other things recording the history such as auditd.
|
In addition to that you still might want to
Code:
rm $HOME/.bash_history
which typically still contains data after history -c.
|
|
|
All times are GMT -5. The time now is 11:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|