whatsyourcommand
October 20, 2006
function whatsyourcommand ()
{
history | awk '{print $2}' | sort | uniq -c | sort -n | tail -23
}
this little bash function pulls some stats from your history:
3 tar
4 %1
4 %2
4 nmap
5 rake
5 vi
6 irb
7 ./t_graph.rb
7 open
8 dwhatsnew
8 geheim
9 ifconfig
11 mysql
14 pgoogle
17 svn
17 telnet
18 syncdir
20 ping
29 cd
36 j
43 ./t_instant-instance-config.rb
70 ls
98 fg