In case you are a avid terminal user, surely you'll want to know which commands you use the most. Well, there is a very simple way to find out ... |
I opened a terminal and wrote:
history | awk '{print $ 2}' | sort | uniq -c | sort -rn | head -10
In my case, the results were the following:
367 sudo
67 cd
grep 43
42 ls
42 clear
19 man
19 location
19 ifconfig
13 scp
tar 10
And you, what commands do you use the most?
Source: OMG! ubuntu
I just deleted my history
344 sudo
82 top
81 cd
43 ls
25 killall5
25 exit
15 sensors
12 man
12 kills
12 gnome shell
They can use the HISTIGNORE variable so that the history doesn't save commands like ls, cd or clear.
Very useful, here are mine:
10
523 sudo
71 exit
59 ls
37 cd
HP 22
20wvdial
13 vncserver
12 ps
8 lsusb
7 nano