I recently discovered the usefulness of find (which makes up its clumsiness, forcing you to type -name to search, with the awesome -exec option). So I'm curious what commands do you find to be the most useful?<p>history | awk '{print $2}' | grep -v cd | grep -v ls | sort | uniq -c | sort -nr | head -10
(to look for your top ten commands)
Here are the commands I use most frequently. However I find lsof and pstree to be the most useful. Even if they are used infrequently.<p><pre><code> 60 hg
37 ./all.sh
30 vi
27 ssh
27 ruby
20 rm
18 mate
15 curl
10 scp
10 grep</code></pre>
I love qalc. It's not really a command, but a command line application. It's a calculator with floating point arithmetic, knowledge of units (even exchange rates if downloaded) and some solving ability.<p>My top 10 commands is/are:<p><pre><code> 201 ssh
189 svn
90 sudo
84 rm
73 ps
70 qalc
66 mplayer
60 scp
47 less
46 cp
</code></pre>
Interestingly, if I remove the ls and cd removal, ls comes in at only the fourth spot. (cd comes at the no. 1 spot, unsurprisingly.)<p>P.S. I had to change the $2 in the awk command to $4, since I store dates with the commands.