You are here.

Mega-ZBlog header image

bash history

April 15th, 2008 · No Comments · Linux

Well everyone seems to be doing this so I guess it’s my turn.

This is from an SSH shell into this webserver. I’m not booted into Linux on my desktop machine at the moment so this will have to do.

[mzzt@server1 ~]$ uname -a
Linux 2.6.9-42.EL #1 Sat Aug 12 09:17:58 CDT 2006 i686 athlon i386 GNU/Linux
[mzzt@server1 ~]$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
149 cd
127 ls
56 rm
44 ln
42 exit
35 chmod
16 pico
11 mv
8 cp
3 put
[mzzt@server1 ~]$

Tags: ·

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

You must log in to post a comment.