2010-10-15 11:37:43

Shell history meme

[msuchy@work/~]$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
276 vi
143 svn
94 cd
87 ls
33 ./update-indexer.sh
31 cp
29 su
28 rm
22 find
19 grep

[root@work//home/msuchy/]# history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
226 vi
114 xm
86 ls
66 cd
41 rpmbuild
38 rpm
28 make
26 cp
25 grep
23 find

Inspirovano Jbowesem


Posted by Miroslav Suchý | Permanent link
Comments
comments powered by Disqus