.comment-link {margin-left:.6em;}

Agile Testing

Thursday, April 10, 2008

Meme du jour: shell history

Here's mine from my Ubuntu laptop:

$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}' |sort -rn|head
121 cd
91 ssh
82 ls
46 vi
28 python
26 scp
16 dig
12 more
7 twistd
6 rm

2 Comments:

  • Why it should not be done in a Python one-liner

    - Paddy.

    By Blogger Paddy3118, at 1:04 AM  

  • I wish there was a good way to account for everything I do after I walk in and type:

    $ emacs

    Mail buffers, shell buffers, Python buffers, eval'd buffers, scratch buffers, w3m buffers, CTRL-META-thisthatandtheother commands.

    About the only thing in my history are sudo commands needed when I have to change a system setting.

    By Anonymous Jeff McNeil, at 11:16 AM  

Post a Comment

Links to this post:

Create a Link

<< Home