Amass

My Shell History

April 23rd, 2008 Luke

I’ve been seeing a lot lately about your shell history - and, seeing as I’ve recently moved my sites to my own server, I’ve been doing a lot of work via SSH and the shell. Here’s what my history looks like:

luke@Max:~$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}' | sort -rn|head
150 clear
97 ls
61 sudo
52 perl
35 exit
24 cat
14 df
11 rm
7 mysqldump
7 echo

…As you can see, I like my screen clean.