LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2006, 05:14 AM   #1
zwylinux
LQ Newbie
 
Registered: May 2006
Posts: 27

Rep: Reputation: 15
A survey:the 10 commands you often use


run the follow commands to see which the 10 commands you often use are.

$ history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}' | sort|uniq -c | sort -rn | head -10

Or

$ history | cut -c 8-|cut -f1 -d" " | sort|uniq -c|sort -rn | head -n10
 
Old 09-27-2006, 05:22 AM   #2
xpucto
Member
 
Registered: Sep 2005
Location: Vienna, Austria
Distribution: Mint 13
Posts: 522

Rep: Reputation: 31
Quite funny!
Quote:
224 ls
193 sudo
112 ssh
81 cd
48 lpq
42 man
32 latex
23 exit
17 vi
15 less
 
Old 09-27-2006, 03:19 PM   #3
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
hah, never really thought about it. Interesting though.

desktop (project dev box):
Code:
75 ./kihit
69 cat
59 pico
56 ls
47 rm
46 cd
41 cp
34 php
9 sfdisk
8 init
server:
Code:
87 cd
82 ls
68 pico
34 cat
21 ps
19 umount
17 sh
14 lsof
13 rm
13 man
Strange that sfdisk made it into the top 10 on my desktop

regards,
...drkstr

Last edited by drkstr; 09-28-2006 at 12:59 AM.
 
Old 09-27-2006, 04:39 PM   #4
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
Quote:
178 cd
153 o
115 rpm
79 ll
64 lo
59 configure
55 man
38 vim
35 time
31 make
I compile pretty much at present time.
 
Old 09-27-2006, 05:52 PM   #5
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Slackware Ubuntu
Posts: 1,046

Rep: Reputation: 42
Very odd. Can't understand wine being there. Only installed it on Sunday to play with a couple of things.

Nice.


158 cd
113 ls
54 sudo
40 ssh
20 wine
14 mplayer
12 rm
7 ping
6 exit
4 vim
 
Old 09-27-2006, 06:35 PM   #6
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,117

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Code:
^H^H^H^H^H^H
man
whereis
--help
whoami
^C
kill
pkill
killall
skill
rm -rf *
reboot
shutdown
kill -9 1
 
Old 09-27-2006, 09:39 PM   #7
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
heh, as a user

Code:
     26 sux
     18 camstream
      9 lsmod
      6 modprobe
      5 rpm
      4 dmesg
      4 camsource
      3 ls
      3 $
      2 winecfg
and as the su

Code:
     26 make
     18 modprobe
     15 cd
     11 lsmod
      9 rmmod
      6 ./configure
      4 rpm
      4 ndiswrapper
      3 pwd
      3 mkinitrd

Last edited by rshaw; 09-27-2006 at 09:41 PM.
 
Old 09-27-2006, 10:06 PM   #8
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 61
Interesting, indeed.

User:
Code:
    168 su
     34 ls
     33 cat
     24 apt-cache
     13 man
     12 exit
     11 lame
     11 cd
      9 xlsfonts
      9 df
I don't understand xlsfonts. I was having some font problems a while ago, and I may have run it once or twice, but I don't think 9 times.

Root:
Code:
     78 ls
     54 aptitude
     41 cat
     26 man
     25 vim
     24 cd
     23 rm
     22 shutdown
     21 locate
     18 apt-cache
After you get 50 or so responses, it might be interesting to consolidate the numbers, maybe eliminating such distro specific commands as "apt," and see what the most used commands generally are. Sudo is another one that is probably misleading with the popularity of Ubuntu. Also, now that I think of it, "sudo" obscures the actual root command being used.

Last edited by rickh; 09-27-2006 at 10:15 PM.
 
Old 09-27-2006, 11:18 PM   #9
Amurko
LQ Newbie
 
Registered: Sep 2006
Distribution: Ubuntu 6.06
Posts: 2

Rep: Reputation: 0
I'm not that much of a command-line person..

99 ls
81 cd
72 sudo
25 exit
13 ssh
13 cat
12 make
11 gedit
10 wine
10 rm
 
Old 09-27-2006, 11:41 PM   #10
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
Interesting thread here are the results from user:
Code:
77 ssh
     62 ls
     59 cd
     43 su
     41 exit
     34 killall
     31 nano
     18 clear
     13 pwd
     11 ee
and as root:
Code:
 107 ls
    102 cd
     24 ssh
     24 nano
     21 mount
     16 exit
     15 ping
     15 clear
     12 ./slackup
      9 chown
Quote:
After you get 50 or so responses, it might be interesting to consolidate the numbers, maybe eliminating such distro specific commands as "apt," and see what the most used commands generally are.
I agree.

Last edited by lord-fu; 09-27-2006 at 11:46 PM.
 
Old 09-28-2006, 12:05 AM   #11
SlackDaemon
Member
 
Registered: Mar 2006
Distribution: RedHat, Slackware, Experimenting with FreeBSD
Posts: 222

Rep: Reputation: 30
Here's mine. I was surprised to see kedit there though. Don't really use it much

88 ls
68 cd
34 vi
32 ssh
24 scp
23 man
21 ping
15 kedit
14 knock
13 sync
 
Old 09-28-2006, 12:07 AM   #12
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 342

Rep: Reputation: 83
User:
Code:
   2735 ls
   1886 cd
    537 mplayer
    426 xmms
    356 mv
    317 gqview
    295 vi
    285 mp3splt
    269 rm
    262 df
root:
Code:
    134 ls
     94 cd
     68 exit
     14 vi
     14 df
     12 pkgtool
     12 mv
     10 cp
      9 crontab
      8 less
 
Old 09-28-2006, 12:20 AM   #13
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
user
Code:
    106 vi
     58 ls
     57 cd
     56 man
     35 exit
     22 tail
     22 rm
     22 mysql
     13 su
     12 tar
I mostly access this box remotely, hence the su to become root

root
Code:
     81 vi
     61 ifconfig
     36 ls
     30 cd
     24 man
     23 exit
     20 ../rc.d/rc.httpd
     19 ./rc.inet1
     16 lynx
     16 l
I recently had a fight to get multiple ip-addresses on one interface working at boot and did setup secure http.
 
Old 09-28-2006, 12:22 AM   #14
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Mine are:

126 ls
79 cd
65 ogg123
30 emacs
27 rm
25 cat
22 su
13 df
12 man
8 xpdf
 
Old 09-28-2006, 05:51 AM   #15
Caesar Tjalbo
Member
 
Registered: Aug 2006
Location: Ņuņoa
Distribution: Aptosid
Posts: 93

Rep: Reputation: 16
Code:
     73 cd
     52 ls
     51 su
     37 exit
     25 ll
     22 pwd
     14 unrar
     12 mkdir
      9 info
      9 cat
I'm a n00b but I'm also working on a script which uses pwd and I find exit easier than clicking on the top right corner of the window.
Code:
    114 yum
    101 cd
    100 ls
     46 cat
     44 exit
     35 find
     21 kwrite
     21 httpd
     18 info
     18 ./configure
More cat, find & info: a learning n00b (--help doesn't show up, fortunately ).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Computers and You: A Survey theCSapprentice General 23 11-09-2005 12:58 PM
help in conducting a survey tuxfood General 11 01-11-2004 08:22 PM
distro survey KptnKrill General 22 10-18-2003 04:27 PM
Survey, Please vote Drogo General 9 06-30-2003 04:32 PM
A scan Survey ?? raz Linux - Security 2 05-02-2001 03:32 AM


All times are GMT -5. The time now is 06:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration