history meme

On my workstation, which is one of two machines I use:

[muks@jurassic ~]$ uname -a
Linux jurassic 2.6.24.4-64.fc8 #1 SMP Sat Mar 29 09:15:49 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
[muks@jurassic ~]$ history | awk ‘{a[$2]++}END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
326 ls
168 cd
92 git
74 clear
66 joe
30 grep
28 svn
15 ssh
15 cat
13 cp

I seem to use clear a lot!

6 Responses to “history meme”


  1. 1 Jeff Schroeder

    Hint: CTRL L (lowercase l) does the same thing as clear with less typing

  2. 2 mike

    Why does git install all this git-* commands, when everybody und pgo just uses git?

  3. 3 Dedalus

    Maybe you should try CTRL + L, it’s faster than typing clear and it won’t leave lines you’d be ashamed of in your history ;)

  4. 4 Paul

    Do you know “ctrl+l” ?

  5. 5 Sam Morris

    You can press Ctrl+L to clear the screen more quickly. :)

  6. 6 muks

    Using clear is an old habit :)
    Mike: Removing git-* from /usr/bin is on the agenda (look under deprecation notices) for the next major release. They plan to move them to some other place leaving only /usr/bin/git as the canonical way to use Git commands.

Leave a Reply