Here is one so common that even I know it:
Code: Select all
~/.bash_history
A history of commands used in Terminal, and we can restore them one by one just by using arrow up.
My mind is not made up yet. I like it a lot but I might choose to change it for safety reasons.
I feel sure the file can just be erased but if I decide I might choose instead to replace the content.
Not a problem but perhaps something to think about.
How much history log do we want to keep by default.
I have tracked my way down to this file where I really dislike the default, and I just want to get rid of it:
Code: Select all
~/.local/share/recently-used.xbel
It saves a list of the last used documents, and I don't think that is anybody's business. Not even my own. lol
I am thinking about handling it like this in a session script to clear it before the user logs out:
If
Code: Select all
~/.local/share/recently-used.xbel
Code: Select all
#!/bin/bash
if [ -f "$HOME/.local/share/recently-used.xbel" ] ; then
echo "" > $HOME/.local/share/recently-used.xbel ;
fi
And here is a lot more log files:
Code: Select all
/var/log/
I would like to know a little more about what you use those log files for.
What is on your mind about them. Some more worth mentioning than others.?
Do we have other places with interesting log files.? :-)