history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr
You can copy the code and paste in the terminal and know the results.
history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr
My sister in law left for San Fransisco by AI 173 flight which flows over North Pole. I tracked that flight on flightstats.com till it land...
2 comments:
zj1992@Blokhmen:~$ history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr
71 sudo
32 ls
28 trigger
20 man
18 killall
17 htop
17 cd
16 nc
13 echo
12 apt-cache
[alanhaggai@archer ~]$ history | sed -e 's/ / /g' | grep -v ' ' | cut -d " " -f5 | sort | uniq -c | sort -n | tail -n11 | sort -nr
183 sudo
98 cd
81 exit
61 perl
46 ls
35 vim
25 irssi
19 man
18 cat
15 rm
Post a Comment