7 ms·
A great time saver for me was simply setting up better bash history and search capabilities[1]. I wrote a wrapper function, sbh (search bash history) that allo
by gricardo99 7y ago
A great time saver for me was simply setting up better bash history and search capabilities[1].
I wrote a wrapper function, sbh (search bash history) that allows me to input date strings like "2 months ago", or "last week", which narrows the search. Linux 'date' function with --date string arg is pretty powerful[2].
1 - https://spin.atomicobject.com/2016/05/28/log-bash-history/ https://spin.atomicobject.com/2016/05/28/log-bash-history/
2 - https://www.thegeekstuff.com/2013/05/date-command-examples/ https://www.thegeekstuff.com/2013/05/date-command-examples/