Whilst skimming my Bash history today looking for an esoteric one liner Iβd written earlier I started to ponder what my most used commands were, itβs easy enough to find out! This is actually output from my Mac, not a Linux box, I tricked you π
<br /> Chill:~ rus$ history | awk {'print $2'} | sort | uniq -c | sort -nr | head -n 10<br /> 106 ssh<br /> 49 ls<br /> 44 cd<br /> 42 curl<br /> 34 scp<br /> 25 vi<br /> 15 mv<br /> 15 cp<br /> 12 grep<br /> 10 rm<br />