Ekstatische Lyriken Pinnwand

That's awesome...

written by Pj on Saturday October 3rd, 2015 -- 9:57 a.m.
in reply to Omit from history

edit this message - return to message index
(only moderators may edit messages)
That totally works, and I'd forgotten how to make it remove duplicates from the history, so that article was double good.

As for this:

I was recently reading about a case where part of the evidence appears to be a deleted bash history-file. From what I gather, the accused says that the removal was a clean-up job to remove inadvertently stored passwords rather than an attempt to hide nefarious activity.

Am I the only person who deletes the .bash_history file and, in order to avoid its re-creation, replaces it with a symlink to /dev/null? It's incredibly rare that I need command history from a previous session, and on those rare occasions it isn't a big deal to simply re-type the command.

I do the same with the folder that the flash player wants to store its data in.  If you delete the folder, it will re-create it, but if you replace it with a symlink to /dev/null, it fails to re-create it, and so its data storage is permanently disabled.

I have no clue why so much software is designed to store history data forever.  Once I close my web browser, I have no need for any history from when it was previously open.  If I want to find web sites again, I either make a bookmark or I find it the same way I found it the first time.  Aside from the back button and the "restore closed tabs" feature, I don't even use my web browser's history data from its current session, so why anyone would want it to store history data for years is beyond my understanding.

Replies

Permanent bash history - crunge - 10/8/15
return to previous message - return to message index

Your Reply

Name: No registration necessary. Simply choose
a name and password and type them in.
Password:
Subject:
You may want to read the rules before you spend a lot of time writing something.
Message:
Plain Text - What you type is what you will see.
Some HTML - Use this if you are including HTML tags.
Pure HTML - Copies your post directly into the web page.
first, then