removed outdated comment

master
Fabien Benetou 14 years ago
parent 83b4f875ad
commit 7e99d2abcf
  1. 1
      shell_scripts/most_used_commands

@ -3,7 +3,6 @@ AVOID="con\|utopiah@benetou.fr"
echo consider also http://fabien.benetou.fr/Tools/ and exercises
# should also remove arguments without - e.g. nmcli con or ssh myserver
cat ~/.bash_history | sed "s/ /\n/g" | grep "^[[:alpha:]]" | sort | uniq -c | grep -v $AVOID | sort -n | tail | sed "s, \([a-zA-Z].*\), \1\t( http://unixhelp.ed.ac.uk/CGI/man-cgi?\1 ) ,"
# simpler version for just the first word, which is bad for commands like sort which never appear first
#cat ~/.bash_history | sed "s/ .*//" | sort | uniq -c | sort -n | tail

Loading…
Cancel
Save