Your top ten linux commands ?

So I thought it would be fun to start a top ten list of everyone’s most commonly used Linux commands.

On your Linux box run the following command.

# history |tr '\011' ' ' |tr -s " "| cut -d' ' -f3 |sort |uniq -c |sort -nbr |head -n10

Hopefully that gives you a similar output, if so it should give you a list of the top ten most commonly used commands in your command history sorted by the most common first. The number just before the command is the number of times it has been run.

Here’s my top ten.

——————————–
200 clear
193 ls
142 vi
48 cd
45 less
45 history
41 yum
41 tail
19 cp
18 ./configure
——————————–

Post your top ten commands in the comments.

-------------------------

Related Posts in Computer / Servers

14 Responses to “Your top ten linux commands ?”

  1. Freelance Website Design Says:

    100 exit
    98 ssh
    42 ls
    33 netstat
    30 sudo
    27 cd
    26 ps
    24 ping
    24 clear
    13 su

    Here’s mine

  2. William Says:

    136 ls
    90 cd
    87 sudo
    20 rm
    14 mv
    12 find
    9 ping
    9 aptitude
    7 ftp
    6 Thunar

  3. frank Says:

    224 ls
    148 cd
    50 ..
    46 rm
    36 man
    29 df
    28 vlc
    26 su
    19 vim
    18 xmoto

  4. Richard Says:

    143 ls
    95 cat
    70 time
    69 ssh
    67 cd
    56 openssl
    39 find
    36 man
    27 /usr/bin/time
    24 vim

  5. Hosting Reviews Says:

    81 ls
    52 cd
    45 exit
    33 who
    26 ping
    25 su
    24 screen
    24 ps
    22 clear
    15 startkde

  6. Azhar Says:

    179 cd
    161 ls
    89 yum
    71 vi
    38 make
    25 rpm
    24 service
    22 exit
    20 tar
    16 ./configure

  7. jb Says:

    124 grep
    92 ssh
    86 svn
    83 find
    70 perl
    54 sudo
    51 for
    36 ls
    35 less
    35 cd

    I think I get the prize for the “most useful” top command.

  8. Erik Rodriguez Says:

    200 ls
    176 cd
    147 clear
    69 w
    52 vi
    44 nmap
    42 ping
    38 cat
    23 netstat
    20 whereis

  9. Shannon VanWagner Says:

    From my home Ubuntu Linux (8.04) machine, guess I’ll have to come back with the results from my 3 other home Linux machines and my work machine.

    65 sudo
    12 ls
    10 cd
    8 ping
    7 smc
    6 exit
    6 cat
    5 ps
    3 lspci
    3 killall

  10. Mitzi Gardner Says:

    3qum10lbgeywp03p

  11. Elias Hickman Says:

    167 ls
    158 sudo
    108 cd
    51 su
    44 vlc
    41 ps
    29 make
    26 less
    24 vi
    22 ln

  12. C T NARAYANAN Says:

    152 cd
    137 ls
    118 python
    88 vi
    60 grep
    48 more
    40 less
    33 history
    19 man
    17 ssh

  13. C T NARAYANAN Says:

    200 cd
    133 ls
    88 python
    73 history
    66 grep
    54 vi
    38 less
    29 more
    28 clear
    21 man

  14. C T NARAYANAN Says:

    197 cd
    131 ls
    83 python
    81 history
    66 grep
    50 vi
    39 less
    32 clear
    29 more
    21 man
    18 ssh
    13 scp
    12 tccopy
    11 cat
    9 rm
    9 ll
    8 mkdir
    7 ping
    7 history|less
    7 finger
    7 chsh
    7 chmod
    6 kwrite
    6 head
    5 zip
    5 wc
    5 find
    5 cp
    4 which
    4 sudo
    4 pwd
    4 passwd
    4 diff
    3 ypchsh
    3 write
    3 w
    3 pico
    3 mv
    3 cut
    2 touch
    2 top
    2 tail
    2 screen
    2 rmdir
    2 ps
    2 netstat
    2 nano
    2 jobs
    2 ex
    2 emacs
    2 cs
    2 compress
    2 cls
    1 xmoto
    1 X
    1 x
    1 :wq
    1 whoami
    1 who
    1 whereis
    1 vlc
    1 vim
    1 talk
    1 su
    1 startx
    1 source
    1 sile
    1 sftp
    1 nmap
    1 mysql
    1 motd
    1 mesg
    1 md
    1 m ore
    1 make
    1 LS
    1 info
    1 ialial
    1 /home/narayanan/python/day.py|awk
    1 /home
    1 home
    1 history|cd
    1 help
    1 gedit
    1 free
    1 file
    1 exit
    1 e-mail
    1 echo
    1 df
    1 ./configure
    1 CLS
    [narayanan@kalam ~]$ history |tr ‘11′ ‘ ‘ |tr -s ” “| cut -d’ ‘ -f3 |sort |uniq -c |sort -nbr |head -n150 |less
    [narayanan@kalam ~]$ history |tr ‘11′ ‘ ‘ |tr -s ” “| cut -d’ ‘ -f2 |sort |uniq -c |sort -nbr |head -n150 |less
    [narayanan@kalam ~]$ history |tr ‘11′ ‘ ‘ |tr -s ” “| cut -d’ ‘ -f3 |sort |uniq -c |sort -nbr |head -n150
    197 cd
    131 ls
    85 history
    80 python
    66 grep
    47 vi
    39 less
    33 clear
    29 more
    21 man
    18 ssh
    13 scp
    12 tccopy
    11 cat
    9 rm
    9 ll
    8 mkdir
    8 history|less
    7 ping
    7 finger
    7 chsh
    7 chmod
    6 kwrite
    6 head
    5 zip
    5 wc
    5 find
    5 cp
    4 which
    4 sudo
    4 pwd
    4 passwd
    4 diff
    3 ypchsh
    3 write
    3 w
    3 pico
    3 mv
    3 cut
    2 touch
    2 top
    2 tail
    2 screen
    2 rmdir
    2 ps
    2 netstat
    2 nano
    2 jobs
    2 ex
    2 emacs
    2 cs
    2 compress
    2 cls
    1 xmoto
    1 X
    1 x
    1 :wq
    1 whoami
    1 who
    1 whereis
    1 vlc
    1 vim
    1 talk
    1 su
    1 startx
    1 source
    1 sile
    1 sftp
    1 nmap
    1 mysql
    1 motd
    1 mesg
    1 md
    1 m ore
    1 make
    1 LS
    1 info
    1 ialial
    1 /home/narayanan/python/day.py|awk
    1 /home
    1 home
    1 history|cd
    1 help
    1 gedit
    1 free
    1 file
    1 exit
    1 e-mail
    1 echo
    1 df
    1 ./configure
    1 CLS
    1 cd/python/python1
    1 CD
    1 cd..
    1 cal
    1 awk
    1 aptitude
    1 94
    1 61
    1 59
    1 51
    1 38
    1 35
    1 22
    1 202
    1 19
    1 141
    1 ..
    1 .
    1 ;

Leave a Reply


Copyright 2007 HowtoMonster.com
Freelance Server Administration | The Musicians Network | www.techshoot.net | Social Network User Search