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


Paddy3118 said…
Why it should not be done in a Python one-liner

- Paddy.
Jeff McNeil said…
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.

Popular posts from this blog

Performance vs. load vs. stress testing

Dynamic DNS updates with nsupdate and BIND 9

Running Gatling load tests in Docker containers via Jenkins