[Discuss] Reviewing history command output for productivity
Lloyd D Budd
foolswisdom at gmail.com
Mon Sep 25 11:07:27 PDT 2006
Review your history is a Linux productivity tip making the rounds.
http://www.lifehacker.com/software/unix/review-your-most-oftused-unix-commands-202712.php
originally from
http://www-128.ibm.com/developerworks/aix/library/au-productivitytips.html?ca=dgr-lnxw07UNIX-Office-Tips
The command they are recommending is:
history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -n
Well, I use bash in multiple terminal windows, so how do the histories
for the various terminals interact?
For most re-occurring longer commands I access them through ctrl-R as
opposed to an alias or function.
--
Peace be yours,
Lloyd D Budd
http://www.foolswisdom.com/~lloyd/
More information about the Discuss
mailing list