My top 10 Commands

June 12, 2007

Submitted by: Taoufix

Category: Computers

375 views

The idea comes from here.
They call me the Copy Ninja for a reason (^\)

Anyway, here they are:

$ history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'  | sort | uniq -c | sort -rn | head -n 10
153 ls
152 cd
110 svn
50 _ssh
32 for
29 rm
29 cat
27 make
25 /opt/sdb/programs/bin/dbmcli
25 mplayer
If you liked this, please share it at your favorite sites:
  • Digg
  • Reddit
  • del.icio.us
  • Wikio
  • Facebook
  • Google
  • Technorati
  • TwitThis
  • MySpace
  • N4G
  • NewsVine
  • StumbleUpon
  • BlogMemes
  • Blogsvine
  • blogtercimlap
  • DotNetKicks
  • eKudos
  • Faves
  • Fleck
  • Scoopeo
  • Socialogs
  • Upnews
  • Yigg
  • E-mail this story to a friend!
  • Mixx

5 Responses :D Pretty Cool

  • shikamaru-debian:/home/shikamaru# history | awk ‘{print $2}’ | awk ‘BEGIN {FS=”|”} {print $1}’ | sort | uniq -c | sort -rn | head -n 10
    28 apt-get
    24 gedit
    10 /etc/init.d/networking
    8 cd
    7 route
    7 ping
    7 ifconfig
    4 modprobe
    4 mkdir
    4 ls

    NB: i’ve just installed a new debian since 2 days

  • I’ve just seen episode 4 of naruto shippuden… and it’s only now that i’m understanding what you wanted to mean by “copy ninja”…
    you naruto maniac kakashi-sensei !

  • Did you forgot the fight w/ Zabuza ?

  • i’m forgetting lot of things man ! euhh… someone is calling me, i have to go now… damn it ! where the hell are my keys ?

  • Archibald Leaurees

    February 25th, 2009

    at 17:01

    Sur deux serveurs de prod, cela donne :

    Serveur contrôleur de domaine (émule un PDC windows avec du Samba/Ldap) :
    164 ls
    126 clear
    89 cd
    61 chmod
    59 net
    57 service
    45 cat
    42 rm
    22 man
    21 pdbedit

    Serveur de messagerie (Postfix, amavisd-new, cyrus et spamassassin) :
    175 postqueue
    105 mailq
    103 cleanqueue
    49 clear
    32 vi
    30 tail
    21 cat
    19 postcat
    17 postfix
    16 postsuper

    Je sais je fais “clear” trop souvent, comme un tic… Mais quand on a douze tail en même temps, parfois cela fait du bien aux yeux un bon écran vierge et tout noir !

    Bien à vous tous.

Leave a Reply

:D :) :cry: :( 8O :twisted: :!: :vangry: :XO: :up: ;) :mrgreen: :halo: :kiss: :roll: :? 8) :evil: :oops: :| :?: :x :$: