Shell history 04.20.2008
There’s a meme spreading about your command line history. Well, why not? Here’s mine:
$ history | awk ‘{print $2}’ | sort | uniq -c | sort -rn | head
79 ssh
43 ls
43 clear
35 hg
33 cd
31 top
20 time
16 screen
15 scp
15 git
For the curious:
sshis at the top of the list due to the fact that my current project for work can only be done on a remote box. I’m sure that if I ran a history there,svnandvim, along withless, would be at the top of the list.clearbecause I am near-neurotic about clearing my terminal screen. Nothing makes my eyes cross faster than a huge amount of jumbly lines with the content I care about mixed in somewhere.screenis something I couldn’t live without. It’s essential to my command-line workflow.hgandgitare VCS software I use. I use Mercurial more, but I’ve been experimenting withgitin recent weeks.timebecause I usetime catas my time tracking system at work. When I start a task, I puttime catin a new screen session. When I finish the task, I control-C out oftime catand get the amount of time it took.