by tezza · 10y ago · 0 comments
At regular intervals, especially when I have important commands to save I do a:
cp ~/.bash_history ~/bash_history_bak_2016-05-31.txt
That way I can do a: cat ~/bash_history* | grep <important-command>
to find it