PDA

View Full Version : Post your top 10 used terminal commands



Pages : [1] 2 3

earobinson
June 12th, 2007, 10:46 PM
I recently made a blog post (http://earobinson.wordpress.com/2007/06/12/my-top-10-commands/) that received a lot of attention, asking people to post there top 10 terminal commands. So without further adoo do a
history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nr or
history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr (Thanks reclusivemonkey) in the terminal and post away. Here is mine:

146 ls
126 cd
59 gnome-open
41 ./a1q3.py
40 svn
15 python
11 xpdf
11 history
10 geany
5 ssh

LollYouSuckZor
June 12th, 2007, 10:49 PM
Lol, A while ago they were.



Sudo apt-get install beryl beryl-core beryl-plugins emerald emerald-themes



Sudo apt-get remove beryl beryl-core beryl-plugins emerald emerald-themes

cunawarit
June 12th, 2007, 11:00 PM
58 cd
44 apt-cache
29 ls
25 su
19 ps
18 whois
13 ping
10 kill
10 clear
8 realplayer

And yeah, it is an everyday desktop :) No work there whatsoever...

daynah
June 12th, 2007, 11:05 PM
Terminal didn't reply. :( Maybe I don't use it enough?

cunawarit
June 12th, 2007, 11:09 PM
Terminal didn't reply. :( Maybe I don't use it enough?

Paste this is:


history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nr

thisllub
June 12th, 2007, 11:11 PM
There is a problem with the post
It should read:

history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nr

96 ls
57 cd
49 ps
30 mount
21 ifconfig
19 gvim
18 killall
18 history
16 scp
16 rm

Bachstelze
June 12th, 2007, 11:13 PM
For myself :


53 df
7 sudo
3 ls
3 cd
3 awk
2 rm
2 ln
2 firefox
1 screen
1 pwd


For root :


26 df
16 cd
12 make
7 fdisk
7 disklabel
6 nano
4 mount
4 man
3 useradd
3 ls


I just installed it today and made my partitions a little too short, thus all the df's :p

dreadlord_chris
June 12th, 2007, 11:16 PM
161 sudo
34 ls
17 cd
14 cat
13 sinstall
13 man
11 supdate
11 cp
10 whereis
9 ps

sinstall = sudo apt-get install
supdate = sudo apt-get update

cunawarit
June 12th, 2007, 11:17 PM
For root:

46 apt-get
23 exit
23 apt-cache
16 ls
15 cd
5 nano
4 gedit
4 10
3 man
2 su

Why I'm done su twice when I am already root... who knows... And the 10 was a pasting accident...

init1
June 12th, 2007, 11:20 PM
In mepis
79 ls
34 firefox
31 VisualBoyAdvance
21 rm
20 bg
18 df
17 halt
15 xmms
12 wine
10 killall

matthew
June 12th, 2007, 11:34 PM
Terminal didn't reply. :( Maybe I don't use it enough?
Me either.

Paste this is:


history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nrThat's better...thanks for saving me the trouble of thinking... :)


93 sudo
60 ssh
58 ls
40 cd
27 exit
25 tilda
19 man
18 rsync
13 beryl-manager
12 ooffice

dbott67
June 12th, 2007, 11:37 PM
77 ls
76 sudo
58 cd
40 cat
39 man
28 jobs
24 kill
23 ps
20 fping
11 netstat

earobinson
June 12th, 2007, 11:38 PM
Paste this is:


history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nr
I assumed it was a joke

icechen1
June 12th, 2007, 11:38 PM
73 sudo
25 ndiswrapper
8 cd
8 cat
5 svn
4 lspci
4 ls
3 wget
2 uname
2 sh

il-luzhin
June 12th, 2007, 11:40 PM
anyone guess what's been given me probs lately?
107 cd
92 ls
74 sudo
22 gedit
14 kill
14 conky
13 make_page
8 pwd
8 /home/luzhin/bin/make_page
7 chmod

init1
June 12th, 2007, 11:52 PM
In Ubuntu
25 ls
21 cat
11 sudo
8 df
6 rm
6 cd
5 darcnes
4 w3m
3 wine
3 twin
I don't use the command line in ubuntu very much. Thats why commands I rarely use are on the list. My mepis list is more accurate.

PatrickMay16
June 13th, 2007, 12:06 AM
110 cd
77 ls
43 sfxload
38 aplaymidi
29 xmp
19 cat
15 timidity
14 play
12 ping
11 sudo
3 ****-benis.sh

Oh boy!

matthew
June 13th, 2007, 12:17 AM
3 ****-benis.sh

Oh boy!So, um, what is that last one?? Do we want to know?

thisllub
June 13th, 2007, 12:38 AM
So, um, what is that last one?? Do we want to know?

I think it goes with init1's Visual BoyAdvance

ryanVickers
June 13th, 2007, 12:43 AM
for me, I don't use it alot, but probably (not in any order):

top
cd
su
startx
mv
iwconfig
apt-get install
(and names of programs to start them)
sudo *

as you can see, really not used very much, these are pretty uncommon commands (some of them).

steveneddy
June 13th, 2007, 12:46 AM
70 sudo
34 cd
25 xvncviewer
24 gksudo
15 uname
15 cowsay
13 locate
12 conky
11 glxgears
10 aptitude
I'm a loser....

ryanVickers
June 13th, 2007, 12:54 AM
I found that the command at the top of this page:

awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nr
did nothing! that's why I'm just going from memory.

I forgot probably mount /dev/* and umount /dev/*, but less now that I've been using the disk mounter applet in the panel

Kingsley
June 13th, 2007, 01:04 AM
sudo apt-get update/upgrade/install
d (shortcut for edictionary)
de (shortcut for german dictionary)
ls
cd
rm -rf
cp
mv
killall
clear

PatrickMay16
June 13th, 2007, 01:11 AM
So, um, what is that last one?? Do we want to know?

Heh heh heh. Fear not, man. It's just a little script I wrote which takes a text file and a wave file, encodes the small wave file into mp3 format, converts the text to wav and then encodes that to mp3 format as well, and then joins both mp3 files together.

When I go to bed, I use a small mp3 player to listen to various articles from the internet. This mp3 player has no screen, so I put a little bit of a song before the text-to-speech starts, so I can identify what article will play. That's why I need the script.

Linux Killer!
June 13th, 2007, 01:15 AM
* dangerous command moved *

Bonus points if you're in your home folder.

Double points if you're in a mounted NTFS drive with write capability.

Tripple points + bonus prize if you're in /, and you walk away to make a cup of coffee without realizing what you've done. :)

tgalati4
June 13th, 2007, 01:17 AM
Problems ripping a scratched disk:

91 ls
88 cd
73 sudo
30 cdparanoia
29 eject
24 ruptime
22 more
18 man
8 rm
8 exit

init1
June 13th, 2007, 01:17 AM
I think it goes with init1's Visual BoyAdvance
oops...

reacocard
June 13th, 2007, 01:31 AM
66 sudo
50 svn
50 ./exaile
45 ps
41 kill
35 ./ircbot.py
22 python
11 man
11 cat
10 apt-cache


heh, that's probably not a very accurate measurement. I use the terminal way too much, things don't stay in history more than a day or two. I need to figure out how to make it remember about 4 times as many.

EDIT: changed, remembers 5000 lines now instead of 500, I'll give it a few days to fill up and try again.

ynnhoj
June 13th, 2007, 01:46 AM
93 ls
77 clear
57 exit
55 vim
47 cd
23 su
22 startx
18 which
12 feh
11 rm

and as root:

138 pacman
91 exit
51 ls
36 clear
29 vim
26 rm
19 cd
12 which
7 reboot
7 chown

nothing exciting.

Cows
June 13th, 2007, 01:50 AM
I don't know what the numbers mean but these are my top 10, there all equal :).

sudo aptitude install
sudo aptitude purge
sudo aptitude update
sudo aptitude upgrade
sudo aptitude dist-upgrade
ls
ls -a
cd
rm -rf

There's more but i don't remember atm.

fumduck
June 13th, 2007, 01:56 AM
12 sudo
3 wget
2 if
1 quit
1 history

I am still learning.. I love it!!!

ThinkBuntu
June 13th, 2007, 02:30 AM
I use

$ du -h /
often

CautionaryX
June 13th, 2007, 02:59 AM
143 sudo
67 clear
20 cd
17 firefox
15 exit
12 beagled
11 echo
9 aptitude
8 man
8 chmod

Well, I use sudo to update my antivirus... and apt-get upgrade, etc.

ryanVickers
June 13th, 2007, 03:03 AM
***

Bonus points if you're in your home folder.

Double points if you're in a mounted NTFS drive with write capability.

Tripple points + bonus prize if you're in /, and you walk away to make a cup of coffee without realizing what you've done.
Reminds me of this dilbert joke:
a marketing person is telling dilbert and wally "now it's time for marketing to turn this backup product of yours into mass sales" or something
then dilbert says that it's not really finished because we said it would take 6 months and you only gave us 2
Then marketing waves that off and asks for the features to put in the manual
They say it freezes every 15 seconds and it erases your hardrive
unless you'r on a lan, then it erases everyones hardrives
"and god help you if you'r on a modem"
"what heppens then?"
"it calls all your friends and erases thier pc's too"
"we'll call it 'quikprotect'!"
"If you have a sound card it swares at you"
:lolflag:

ryanVickers
June 13th, 2007, 03:04 AM
Edit: remove post
oops, double post, don't know how that happened?!

JT673
June 13th, 2007, 03:12 AM
75 sudo #kinda obvious
53 cd
43 ls
32 cat
28 dpkg
20 catinput #self-made script
18 echo
11 man
10 mkdir
10 countdown #another self-made script

laredo7mm
June 13th, 2007, 03:24 AM
139 sudo
108 dir
73 cd
35 rm
35 cd..
29 unrar
17 ./fah5
10 sensors
10 par2
10 exit

dir is an alias for "ls -l", I think I learned dir from DOS or Fortran, back in the day. ;)

frup
June 13th, 2007, 03:25 AM
133 sudo
65 crontab
30 ./test.sh
30 cd
27 ls
21 ssh
19 telnet
11 postconf
9 ~/./test.sh
9 aptitude
lol thats interesting.

VirtualTiger
June 13th, 2007, 03:36 AM
As MySelf:

176 sudo
96 ls
35 cd
25 locate
24 gedit
15 convert
11 ./convert-bc.sh
9 chmod
6 fdisk
6 clear

As Root:

86 dir
57 cd
51 ls
27 more
25 rm
17 grub-install
15 gedit
12 apt-get
12 sudo # Looks like I forgot I was already here...:(
10 cp

Crashmaxx
June 13th, 2007, 03:43 AM
194 sudo
25 ping
23 ssh
23 cd
21 man
16 bdm
13 ls
11 test
11 ./synergycheck
11 ps

odiseo77
June 13th, 2007, 03:45 AM
sudo
ls
apt-get
less
vi
mc
cd
kill (well, sometimes :D )
ps
exit

Clay_Banger
June 13th, 2007, 03:55 AM
177 sudo
113 cd
57 ls
37 chmod
15 kdesu
15 exit
11 wine
9 export
7 ./configure
5 svn

Nikron
June 13th, 2007, 04:01 AM
94 ls
80 sudo
66 cd
38 pacman
24 man
23 cat
18 vim
16 echo
11 zenity
9 du


Not particularly interesting

herbster
June 13th, 2007, 05:40 AM
154 sudo
111 cd
41 dir
39 svn
22 make
20 ./configure
17 autoreconf
7 file
6 ping
6 find

kuja
June 13th, 2007, 06:51 AM
63 ls
46 sudo
34 show
33 search
32 install
21 ./build.sh
20 simple64
12 rm
9 man

ihatethedekoys
June 13th, 2007, 08:14 AM
213 sudo
31 ls
26 cd
18 locate
15 wine
14 fglrxinfo
14 apt-cache
12 cedega
9 wget
9 gcc

crimesaucer
June 13th, 2007, 08:27 AM
210 sudo
66 ls
48 acpi
23 cd
20 free
12 twf
12 conky
11 mousepad
11 killall
9 ping

afljafa
June 13th, 2007, 09:18 AM
This is one of our servers.

285 mc
94 ls
50 service
39 dmesg
34 mount
33 make
26 reboot
24 rpm
21 cp
19 chown

AlexC_
June 13th, 2007, 11:58 AM
230 svn
54 cd
46 sudo
34 ssh
18 ls
12 chmod
11 cowsay
9 rm
8 ping
8 apt-cache

Cowsay! yay =D

bashologist
June 13th, 2007, 12:33 PM
640 echo
550 sed
264 cd
242 sudo
227 man
226 ls
208 grep
182 for
146 date
139 printf

This's awesome. Great idea. I have the biggest numbers so far. I love teh echoing. n_n

Tux Aubrey
June 13th, 2007, 01:17 PM
80 sudo
13 cd
10 startx
9 envy
5 gksudo
4 exit
3 ls
3 gedit
3 emerald
2 vim

Wot? no cowsay?

_
______________________________
< Time to edit xorg.conf again! >
-------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||

stimpack
June 13th, 2007, 01:22 PM
111 cd
76 ls
42 screen
37 wget
30 dosbox
14 truecrypt
13 cedega
10 sudo
10 nano
10 du

matthinckley
June 13th, 2007, 01:30 PM
On my server (only box I have access to from work)


155 ls
84 cd
61 exit
40 mv
39 mkdir
35 mutt
24 elinks
12 sudo
9 ssh
5 route

christhemonkey
June 13th, 2007, 01:36 PM
151 g++
111 ./task2.o
50 ./task7.o
35 ./task6.o
20 ls
13 ./12.o
12 cd
9 nano
6 sudo
5 ./task3.o


Anyone would think that im learning c++....

regomodo
June 13th, 2007, 01:43 PM
102 sudo
39 route
5 iwlist
5 ifconfig
4 iwconfig
4 htop
3 ping
3 ls
3 cd
2 nano

reclusivemonkey
June 13th, 2007, 01:56 PM
I'm at work right now and couldn't get awk to work on cygwin :-S I made a few tweaks though and got there;

217 vim
24 man
22 fortune
14 less
14 history
14 grep
12 rxvt.exe
10 antiword.exe
9 mv
9 cat

I'll post the result from mother when I get home =]

Just in case anyone is interested, I used



history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr


From mother;

77 sudo
46 vim
36 cd
33 ls
21 find
18 man
17 killall
13 less
11 cat
9 cp

Yep, I likes me vim!

Oh, and thanks to earobinson for the mention at the start of the thread =]

bclark
June 13th, 2007, 02:46 PM
81 cd
66 ls
44 sudo
34 vi
20 g++
18 make
16 wget
14 java
13 ssh
12 svn

earobinson
June 13th, 2007, 02:49 PM
I'm at work right now and couldn't get awk to work on cygwin :-S I made a few tweaks though and got there;

217 vim
24 man
22 fortune
14 less
14 history
14 grep
12 rxvt.exe
10 antiword.exe
9 mv
9 cat

I'll post the result from mother when I get home =]

Just in case anyone is interested, I used



history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr



neat, thats a lot cleaner than mine, but then mine is quite hacked

bobbocanfly
June 13th, 2007, 03:45 PM
85 cd
79 sudo
51 ls
24 exit
19 sh
13 chmod
12 uptime
12 ruby
10 svn
10 rm

Need to use the terminal more. It is too much fun!

reclusivemonkey
June 13th, 2007, 04:11 PM
neat, thats a lot cleaner than mine, but then mine is quite hacked

I'd say using awk is better than sed; I think awk would be more robust at getting the right fields from history.

I use gawk on cygwin in another script I use and it seems to work fine there, but its acting on a file rather than on a command. Its not the first time something on cygwin has behaved strangely though!

cstudent
June 13th, 2007, 04:19 PM
123 sudo
73 ls
64 cd
29 logout
20 cp
17 ssh
15 exit
9 htop
5 nano
4 rm

tact
June 13th, 2007, 04:40 PM
My result...

4743 evolution --force-shutdown
4743 evolution --component=mail
102 sudo
62 ping
29 gedit
27 ls
22 cd
12 iwconfig
10 exit
9 locate

:) the first two may be exaggerations...

Celegorm
June 13th, 2007, 04:45 PM
107 ls
58 cd
14 view
14 man
13 sudo
12 su
11 mv
8 mkdir
8 ./angband
7 date

mcduck
June 13th, 2007, 04:46 PM
100 sudo
22 man
22 ls
17 cd
14 top
14 ncmpc
13 tail
13 apt-cache
12 mpdscribble
12 locate

edit: these commands seem to give a bit different outputs. Here are the results using the other command:

116 sudo
36 man
24 ls
19 top
18 tail
17 cd
16 apt-cache
14 ncmpc
14 mpdscribble
13 killall

wakingrufus
June 13th, 2007, 04:47 PM
173 sudo
33 cd
32 startx
17 joy2key
17 apt-get
11 gpg
10 winecfg
10 dir
9 envy
7 umount

earobinson
June 13th, 2007, 07:50 PM
100 sudo
22 man
22 ls
17 cd
14 top
14 ncmpc
13 tail
13 apt-cache
12 mpdscribble
12 locate

edit: these commands seem to give a bit different outputs. Here are the results using the other command:

116 sudo
36 man
24 ls
19 top
18 tail
17 cd
16 apt-cache
14 ncmpc
14 mpdscribble
13 killall
which came from which, they gave me the same output

runningwithscissors
June 13th, 2007, 08:10 PM
72 ./compile1
42 gdb
38 su
26 ../bin/game1
23 startx
18 exit
6 rm
5 ls
5 grep
2 top

bonzodog
June 13th, 2007, 08:50 PM
Mine, on zenwalk. I use the terminal fairly often, and this is a clean install (for major version upgrade), only 3 days old.

59 cd
52 ls
47 su
30 ps
16 killall
15 locate
14 conky
12 make
10 scummvm
10 nano

locate is a popular one of mine :D

TBOL3
June 13th, 2007, 09:04 PM
history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nr
108 sudo
62 exit
53 ls
36 locate
34 cd
32 compiz
18 mount
10 timidity
10 man
10 chmod

happy-and-lost
June 13th, 2007, 09:17 PM
76 sudo
17 Eterm
15 mousepad
11 fbsetbg
5 xbindkeys
5 su
5 gtk-theme-switch2
5 du
5 alsamixer
4 xev

PatrickMay16
June 13th, 2007, 09:25 PM
123 sudo
73 ls
64 cd
29 logout
20 cp
17 ssh
15 exit
9 htop
5 nano
4 rm

29 logout? Heh heh! How did you manage that?

andrewpmk
June 13th, 2007, 11:31 PM
62 ssh
58 dir
36 rm
35 cd
26 optipng
26 advpng
25 rsvg-view
19 ../bin/pngout
18 inkscape
15 sudo

Hortinstein
June 14th, 2007, 12:21 AM
hmmm i cant wait to get home and see where nethack is on my list....my guess is like #3

L14UX_1NS1D3
June 14th, 2007, 12:44 AM
that is a good question

mine are as follows:
1. ls

2. killall (in most cases)

3. nautilus &

4. thunar &

5. pico

6. man

7. find

8. grep (used in conjunction with find)

9. exit

10. mp3blaster (ncurses jukebox)
__________________________________________________ __________________________________________________ ____

two great apps to use are yakuake and mp3blaster, by combining them you have a dropdown audio player on any virtual desktop. 8-)

Interestedinthepenguin
June 14th, 2007, 12:56 AM
143 sudo
82 cd
55 python
30 xwinwrap
28 man
17 whereis
13 tar
9 iwconfig
8 firefox
7 ls

Old Pink
June 14th, 2007, 01:10 AM
189 sudo
52 ping
33 locate
18 /usr/bin/gconftool-2
13 cd
11 whereis
9 /home/matt/bin/ppc.sh
8 multisync
8 chmod
6 xcompmgr

tagra123
June 14th, 2007, 01:31 AM
71 cd
70 dir
60 sudo
47 ssh
21 mythfrontend
12 gedit
11 top
10 ping
10 ls
10 exit

cstudent
June 14th, 2007, 01:36 AM
29 logout? Heh heh! How did you manage that?

I ssh into my home desktop from work most days to build the Ubuntu .deb for the Codeblocks developers (http://developer.berlios.de/project/showfiles.php?group_id=5358). I guess that's where that comes from.

lsalminen
June 14th, 2007, 01:51 AM
155 sudo
55 exit
52 cd
24 wget
15 make
10 mount
9 transset
8 top
8 killall
7 wine

screaminj3sus
June 14th, 2007, 02:22 AM
haha on my fresh ubuntu install (Installed today)

13 sudo
3 history
2 beryl-manager
1 wget
1 gconf-editor
1 alsamixer

Ptero-4
June 14th, 2007, 02:43 AM
Mine:

167 sudo
95 cd
89 ls
30 rm
17 make
14 mv
12 pico
11 mount
7 umount
7 tar

james_2002uk
June 14th, 2007, 03:47 AM
cd
ls -l
apt-get
apt-cache
ssh
nano
beryl-manager.... (followed a short time later by)
metacity
grep
killall

mocqueanh
June 14th, 2007, 04:01 AM
gnochm
evince
man -k
df
cd
apt-cache show
gimp
kill %
top
rm

userundefine
June 14th, 2007, 04:08 AM
59 ls
57 sudo
57 cd
40 games/ut2004demo/./ut2004-demo
36 screen
26 kaffeine
20 rtorrent
20 mv
19 killall
17 irssi

frup
June 14th, 2007, 05:45 AM
How can you increase the length of the history? Typing history by itself shows my last 500 or so commands the top 10 being the top 10 of those, I was using terminal a bit and then decided to look at it again and my sudo had gone down by 9. lol.

How do you clear the history if you want to? (I.e say I wanted to keep a log of all my commands each day and > to a file and then clear the history so I could graph how I used commands or something geeky like that?)

mthakur2006
June 14th, 2007, 08:26 AM
mine are:


mtha@LENOVO:~$ beagle-status
mtha@LENOVO:~$ history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nr
73 sudo
44 beagle-status
18 </li>
18 <li
15 cd
15 beagled
14 iwconfig
13 hddtemp
12 beagle-index-info
10 exit
mtha@LENOVO:~$



;)

eentonig
June 14th, 2007, 08:30 AM
Rather obvious I just reinstalled and still busy to tune to my needs.


68 sudo
32 cd
24 ls
17 apt-cache
16 psgrep
11 more
10 gnome-terminal
9 htop
9 gksudo
8 man

mcduck
June 14th, 2007, 09:10 AM
which came from which, they gave me the same output

The first output was from the second provided command (the one that uses sed), and the other one uses the first command (with awk).

slimdog360
June 14th, 2007, 09:35 AM
41 sudo
38 cd
24 ls
13 apt-cache
4 ./configure
3 thunar
3 scilab
3 make
3 gksudo
3 ./FretsOnFire

bashologist
June 14th, 2007, 09:49 AM
Here are the top topcommands from this thread pages 1 to 9. Using a python script with regex here's the result:

satan@ubuntu:~$ ~/./topcommands.py | sort -nr
9486 evolution
7600 GS
2818 sudo
1806 cd
1527 ls
1509 -
500 or
200 exit
130 ssh
115 rm
109 dir
109 cat
107 ps
100 man
96 ping
91 locate
90 wget
88 apt-cache
87 make
84 su
78 screen
69 mount
65 crontab
61 killall
58 logout
55 python

Here's the python script:

#!/usr/bin/env python
#http://ubuntuforums.org/showthread.php?t=472090

import urllib, re, sys

top_commands = {}
forum_url = "http://ubuntuforums.org/showthread.php?t=472090"
page_source = urllib.urlopen(forum_url).read()
pattern_page = re.compile("page \d+ of \d+", re.IGNORECASE)
pattern_command = re.compile("\d+ .+<br />\r", re.IGNORECASE)
page_count = re.search(pattern_page, page_source).group().split()[-1]

for count in range(1, int(page_count) + 1):
page_url = "%s&page=%i" % (forum_url, count)
print "processing %s ..." % page_url
page_source = urllib.urlopen(page_url).read()
for command in pattern_command.findall(page_source):
command = command.split("<br />")
program = command[0].split()[1]
number = command[0].split()[0]
if program in top_commands:
top_commands[program] += int(number)
else:
top_commands[program] = int(number)

for command in top_commands:
print top_commands[command], command

daynah
June 14th, 2007, 11:49 AM
43 sudo
28 cd
24 ls
12 wine
9 ./psclient
7 ./pssetup
6 winecfg
5 gksu
3 wget
3 gksudo


Does this qualify me to be a gamer?

reacocard
June 14th, 2007, 01:54 PM
How can you increase the length of the history? Typing history by itself shows my last 500 or so commands the top 10 being the top 10 of those, I was using terminal a bit and then decided to look at it again and my sudo had gone down by 9. lol.

How do you clear the history if you want to? (I.e say I wanted to keep a log of all my commands each day and > to a file and then clear the history so I could graph how I used commands or something geeky like that?)

To increase history length, add a line like

export HISTSIZE=5000
to ~/.bash_profile

To clear the history, do

history -c

bashologist
June 14th, 2007, 03:33 PM
What's everyones history size? That would be interesting to see also.


satan@ubuntu:~$ wc -l $HISTFILE
6621 /home/satan/.bash_history
satan@ubuntu:~$ wc -c $HISTFILE
323822 /home/satan/.bash_history
satan@ubuntu:~$ du -h $HISTFILE
324K /home/satan/.bash_history
satan@ubuntu:~$ echo $HISTSIZE
99999
satan@ubuntu:~$

testube_babies
June 14th, 2007, 04:10 PM
yikes...i think i might overdo the sudo

182 sudo
32 exit
26 cd
20 rm
12 gksudo
11 ls
11 apt-cache
8 python
8 ssh
6 wget

corney91
June 14th, 2007, 04:46 PM
109 sudo
35 apt-cache
20 cd
15 ls
15 jack
12 wine
9 history
9 beagled
7 gedit
6 man

Recently reinstalled, otherwise jack would be much higher

Bluecircle
June 16th, 2007, 11:53 PM
137 sudo
33 aptitude
32 tar
17 vlc
17 ps
14 kill
12 top
12 ls
9 thunderbird
8 esd

Motoxrdude
June 17th, 2007, 12:02 AM
sudo su
cd
ls
wine
apt-get update
apt-get install
rm
mv
tar

eh, only 9 but that's basicly all i use

macogw
June 17th, 2007, 12:06 AM
102 sudo
102 ls
98 cd
42 apt-cache
26 vi
11 man
11 915resolution
10 ps
7 ssh
6 cat

mardawi
June 17th, 2007, 02:14 AM
49 sudo
29 cd
26 ls
13 kguitar
11 ping
10 ifconfig
7 alsactl
5 vmware
5 timidity
5 gst-launch

newlinux
June 17th, 2007, 02:18 AM
104 ls
98 cd
67 ll
36 sudo
16 cls
14 test-mpeg2
12 pgrep
11 rm
11 mv
10 ffmpeg

A couple of aliases in there

Bluecircle
June 17th, 2007, 06:59 AM
16 cls

A couple of aliases in there

cls, an alias for clear, the DOS version?

vexorian
June 17th, 2007, 07:02 AM
hmm

1. cd
2. sudo nautilus
3. sudo gedit
4. ./xye
5. wine
6. ssh

Hobbsee
June 17th, 2007, 08:56 AM
64 ls
59 cd
38 vi
25 [apt-cache] search
20 update (apt-get update && apt-get upgrade)
16 sudo
15 [apt-cache] show
15 rm
15 dch
13 ssh

yay, aliases :)

newlinux
June 17th, 2007, 04:48 PM
cls, an alias for clear, the DOS version?

Yep, and ll and alias for ls -ulAFh

PartisanEntity
June 17th, 2007, 04:49 PM
94 sudo
66 cd
47 ls
24 python
9 bzr
8 man
8 envy
7 startx
7 pwd
6 touch

Afoot
June 17th, 2007, 05:40 PM
My account:
170 javac
90 java
59 sudo
55 clear
35 ls
19 cd
11 wine
8 su
8 nautilus
6 cowsay

Root (yes, it's on Gentoo):
63 emerge
24 exit
23 ls
16 vim
16 echo
13 rc-update
9 ifconfig
8 adduser
7 nano
7 cd

Andrewie
June 17th, 2007, 06:27 PM
./Nvidia.......run (nvidia driver)
kdm
init 3
init 5
mv
cp
mc
ls
shutdown -r now
poweroff

tanelt
June 17th, 2007, 06:57 PM
Okay then, let's see...

In no particular order (except for the very last one on the list).


1. sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
2. sudo dpkg-reconfigure xserver-xorg
3. sudo killall x
4. gksudo gedit /etc/X11/xorg.conf
5. sudo killall x
6. gksudo gedit /etc/X11/xorg.conf
7. sudo reboot
8. sudo nano /etc/X11/xorg.conf
9. sudo dpkg-reconfigure xserver-xorg
10. sudo reboot
11. sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
12. sudo dpkg-reconfigure xserver-xorg
13. sudo killall x
14. gksudo gedit /etc/X11/xorg.conf
15. sudo killall x
16. gksudo gedit /etc/X11/xorg.conf
17. sudo reboot
18. sudo nano /etc/X11/xorg.conf
19. sudo dpkg-reconfigure xserver-xorg
20. sudo reboot
21. sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
22. sudo dpkg-reconfigure xserver-xorg
23. sudo killall x
24. gksudo gedit /etc/X11/xorg.conf
25. sudo killall x
26. gksudo gedit /etc/X11/xorg.conf
27. sudo reboot
28. sudo nano /etc/X11/xorg.conf
29. sudo dpkg-reconfigure xserver-xorg
30. sudo reboot
31. sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
32. sudo dpkg-reconfigure xserver-xorg
33. sudo killall x
34. gksudo gedit /etc/X11/xorg.conf
35. sudo killall x
36. gksudo gedit /etc/X11/xorg.conf
37. sudo reboot
38. sudo nano /etc/X11/xorg.conf
39. sudo dpkg-reconfigure xserver-xorg
40. sudo reboot
41. sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
42. sudo dpkg-reconfigure xserver-xorg
43. sudo killall x
44. gksudo gedit /etc/X11/xorg.conf
45. sudo killall x
46. gksudo gedit /etc/X11/xorg.conf
47. sudo reboot
48. sudo nano /etc/X11/xorg.conf
49. sudo dpkg-reconfigure xserver-xorg
50. sudo reboot
51. sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
52. sudo dpkg-reconfigure xserver-xorg
53. sudo killall x
54. gksudo gedit /etc/X11/xorg.conf
55. sudo killall x
56. gksudo gedit /etc/X11/xorg.conf
57. sudo reboot
58. sudo nano /etc/X11/xorg.conf
59. sudo dpkg-reconfigure xserver-xorg
60. sudo reboot
61. sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
62. sudo dpkg-reconfigure xserver-xorg
63. sudo killall x
64. gksudo gedit /etc/X11/xorg.conf
65. sudo killall x
66. gksudo gedit /etc/X11/xorg.conf
67. sudo reboot
68. sudo nano /etc/X11/xorg.conf
69. sudo dpkg-reconfigure xserver-xorg
70. shutdown, boot back to Windows. Remove Linux.

Dragonbite
June 18th, 2007, 04:25 AM
123 sudo
119 ls
40 ps
38 cd
26 killall
24 exit
20 man
10 vpnclient
10 kill
8 ping

Mr. Picklesworth
June 18th, 2007, 05:00 AM
72 cd
59 sudo
36 ls
29 blitzmaxide_ce
17 pidof
17 kill
11 make
11 date
10 echo
9 export

I thought my "kill" use was bad. Gee, Dragonbite, your terminal is a massacre! :P

dart1007
June 18th, 2007, 05:04 AM
186 sudo
53 btsco
28 cd
27 hcitool
18 man
14 hidd
14 ./buildset
11 locate
11 aplay
9 uname

gushy
June 18th, 2007, 04:26 PM
history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nr
98 ssh
78 exit
36 sudo
36 cd
32 ps
31 ls
31 kill
27 tn5250
15 hamachi
9 top


history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr
80 ssh
60 exit
32 cd
30 sudo
30 ls
29 kill
26 ps
25 tn5250
11 hamachi
8 scp

frup
June 18th, 2007, 04:29 PM
history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr
80 ssh
60 exit
32 cd
30 sudo
30 ls
29 kill
26 ps
25 tn5250
11 hamachi
8 scp

laurent@lars:~$ history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr
99
1 500
1 499
1 498
1 497
1 496
1 495
1 494
1 493
1 492

A little different :S

~LoKe
June 18th, 2007, 04:33 PM
162 sudo
69 cd
57 ls
39 clear
26 gksudo
19 ./et
14 mplayer
10 aplay
7 ./et.sh
7 cat
=]

Skrynesaver
June 18th, 2007, 04:49 PM
128 ls
80 fg
53 sudo
45 ~/bin/anlyseServer.pl
42 cd
40 ~/bin/undate
34 ssh
29 less
25 vim
25 find


undate does translation of epoch-human time stamps from logs files ( A work thing)
analyseServer is a script to produce clear and readable output from the logs of various services and various utilities, a health check basically.

arsenic23
June 24th, 2007, 06:26 PM
This is for my laptop:
122 find
66 ls
37 sudo
30 cd
28 ping
27 rename
21 cll
15 vlc
14 mv
12 cl

If I had my desktop available I'm sure it'd be quite different.
cll is an alias = cd ~/ &&clear&&ls
cl is an alias = clear && ls

ubuntu27
June 24th, 2007, 06:47 PM
history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nr


74 sudo
9 ip
5 ipconfig
4 man
4 killall
2 xfce4-panel
2 package
2 network
2 netconfig
2 bash


history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr


18 sudo
2 history
2 aptitude
1 suto
1 amaya
1 99
1 98
1 97
1 96
1 95

ice60
June 24th, 2007, 06:55 PM
on suse.

477 su
325 sudo
279 d
265 locate
237 cd
225 ls
177 wget
139 l
133 nohup
132 smart

supersonicdarky
June 24th, 2007, 07:57 PM
140 sudo
90 clear
42 cd
35 conky
23 killall
21 dir
19 exit
10 history
9 rm
7 VirtualBox

nothing special

sabrewolf2006
June 24th, 2007, 08:15 PM
been prototyping a program using bash script, can ya tell? ;)
64 sudo
37 cat
34 echo
28 man
23 sh
23 cd
22 ls
18 grep
18 egrep
15 read

IYY
June 25th, 2007, 01:59 AM
I haven't been using this particular machine for a long time, and haven't coded on it yet. So, there aren't many interesting commands...


101 ls
88 cd
44 keyjnote
31 sudo
21 vi
13 exit
9 man
7 apt-cache
6 iwconfig
6 cat

67GTA
June 25th, 2007, 06:25 AM
Linux Mint

115 sudo
12 su
7 killall
7 cd
6 gksudo
6 ./configure
5 make
4 update-menu
4 glxgears
3 uname

Dokatz
June 25th, 2007, 11:24 AM
67 ls
49 cd
34 dosbox
19 sudo
4 man
2 wine
1 wget
1 lw
1 ls]
1 l

alan_daniel
June 25th, 2007, 01:02 PM
Nice idea

49 ls
21 sudo
21 cd
13 vim
10 exit
8 uptime
6 mv
5 rm
5 mkdir
5 maxima

samjh
June 25th, 2007, 01:16 PM
131 sudo
90 cd
76 ls
47 gnat
16 wine
13 rm
10 exit
7 make
7 java
5 time

Interesting thread topic.

rishabh
June 25th, 2007, 03:33 PM
I get a:

175 sudo
49 cd
26 exit
16 ls
14 ping
13 ./configure
12 gnome-panel
8 xwinwrap
8 chmod
8 cat


;)

Tachyon_
June 25th, 2007, 05:44 PM
150 sudo
25 cat
24 killall
22 dump
19 make
16 ls
16 cd
15 ./configure
10 ps
8 ./ut2004

:D

NeoLithium
June 25th, 2007, 05:46 PM
107 ls
100 sudo
86 cd
13 gpg
11 firefox
9 top
8 gksu
7 rm
6 sh
6 pidof

AriciU
June 25th, 2007, 05:52 PM
64 nvclock
52 gedit
48 apt-get
32 cd
30 ls
29 ps
25 kill
24 cat
17 pymetar
17 cp

ceelo
June 25th, 2007, 06:07 PM
85 su
63 (WW)
40 ls
31 ncmpc
29 cd
16 killall
15 tar
15 screen
14 kwin
12 makepkg

No idea what (WW) is... :???:

harlan
June 25th, 2007, 09:31 PM
170 sudo
41 cd
38 ls
17 locate
10 mysql
10 less
9 ps
9 man
9 aptitude
8 mysqladmin

axel-vpk
June 25th, 2007, 09:51 PM
103 cd
85 ls
80 sudo
60 wine
12 mount
11 comix
10 ssh
10 gedit
9 winecfg
7 wget

konungursvia
June 26th, 2007, 03:43 AM
history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr
93 sudo
89 ls
63 cd
46 beryl-manager
14 xkill
6 rm
4 killall
4 deluge
4 arecord
3 tar

Qu4k3R
June 26th, 2007, 07:44 PM
:D


77 sudo
28 ls
27 cd
22 gcc
14 exit
13 man
12 rm
10 mv
10 killall
10 cat

lundish
June 26th, 2007, 08:10 PM
slawek@113:~$ history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nr
92 sudo
14 weechat-curses
12 htop
9 ln
7 compiz
6 wget
6 ekg
5 echo
4 shutdown
4 rm

Polygon
June 26th, 2007, 09:24 PM
118 sudo
82 cd
57 ls
12 python
11 aoss
10 zenity
9 vol_id
9 ssh
8 wget
7 svn

ironfistchamp
June 26th, 2007, 09:27 PM
45 sudo
31 cd
24 ls
10 ./waf
5 killall
5 gksu
5 ./configure
4 tar
4 nano
4 ./mountntfs

forrestcupp
June 26th, 2007, 09:31 PM
Ha, the terminal! The only reason to use it is

sudo nano /etc/X11/xorg.conf

Rui Pais
June 26th, 2007, 09:47 PM
funny how one get this from history...
i must check that command one day (i hate awk and sed but they are so useful...)

so, mine:
192 sudo
39 cd
32 history
29 cat
20 ls
20 ler
12 ll
11 svn
10 free

ler is an alias for scite that i use as my base text editor (don't like scite name, short ler is just portuguese for read).
My 3rd is for history cause i use a lot of repeated svn commands (that i can't memorize) so just use history and a piped grep to get then number of a repeated line and then good old !X :)

justifier
June 26th, 2007, 10:31 PM
81 cd
79 sudo
79 ls
29 ssh
22 telnet
21 man
17 apt-cache
16 rm
13 nano
10 conky

moljac024
June 26th, 2007, 10:36 PM
102 sudo
90 cd
34 ls
28 ps
18 kill
12 wget
11 sh
10 locate
8 gksudo
6 java

scrooge_74
June 26th, 2007, 10:40 PM
176 cd
137 ls
15 nano
14 exit
6 xscreensaver
6 ps
5 wine
5 sudo
4 unrar
4 top

BeardlessForeigner
June 27th, 2007, 05:02 AM
102 sudo
39 cd
28 ls
12 alacarte
9 man
8 scheme
7 wine
7 python
7 gedit
6 make

a12ctic
June 27th, 2007, 05:10 AM
83 sudo
12 cd
8 alsamixer
5 make
5 ./configure
4 wine
4 wget
4 mount
4 beryl-manager
3 xvncviewer

haricharan
July 17th, 2007, 01:24 AM
137 sudo
85 ls
71 cd
27 make
21 pcp
17 gksudo
14 ./run.sh
14 exit
9 ./pricing
9 ftp

earobinson
July 17th, 2007, 04:29 PM
Wow its good to see this is still going, kinda cool looking at all the other comands people run!

xfile087
July 17th, 2007, 04:36 PM
240 sudo
77 cd
67 ls
21 wine
13 exit
10 nano
5 msiexec
5 cp
4 wget
4 make

reacocard
July 17th, 2007, 04:43 PM
93 sudo
44 svn
25 ps
22 ./exaile
19 ./vim-single-window.sh
18 amixer
17 python
16 kill
16 exaile
14 ./repo.sh

esc1
July 17th, 2007, 05:01 PM
112 sudo
55 cd
35 ifconfig
27 dir
16 vlc
15 ping
4 history
4 glxinfo
4 beryl
4 7z

antoxa
July 17th, 2007, 05:49 PM
132 ./configure
75 cd
58 ./1.sh
57 make
51 su
17 wget
10 startx
7 amule
6 cmus
5 uname
:popcorn:

Iandefor
July 17th, 2007, 06:07 PM
124 sudo
99 ls
66 cd
22 less
16 man
15 qemu
14 grep
13 history
10 rm
10 ./autogen.shI was throwing myself against various forms of splashy source yesterday, which I guess is where the ./autogen.sh comes from. Aside from that... qemu is pretty handy for testing remastered CD's.

smartboyathome
July 17th, 2007, 06:09 PM
5 sudo
2 history
1 gnome-theme-manager
1 glxgears
1 gksudo

My install is very new ;)

mike102282
July 17th, 2007, 06:12 PM
1. sudo
It the only one i use.

Depressed Man
July 17th, 2007, 06:39 PM
158 sudo
61 cd
58 dir
9 wget
8 ifconfig
7 gksudo
6 sh
5 python
5 azureus
4 beagled

Mr.Auer
July 17th, 2007, 09:47 PM
Hmm, this ones a pretty new install, had to change a broken motherboard yesterday and installed the whole system again while I was at it...
19 sudo
4 cd
3 ifconfig
2 w
2 ssh
2 make
2 history
2 gconf-editor
2 free
2 conky

And this one from my older box, few months in existance:
188 sudo
23 conky
21 cd
18 ssh
18 ls
16 mousepad
13 avant-window-navigator
11 make
8 gkrellm
8 gconf-editor

You can tell I dont do much real work in the CLI :p

tribaal
July 17th, 2007, 10:10 PM
Love this bash hack :)

Bonus to anyone that gives me an alias line that does the same thing (got mixed up with the escape chars :( )

Here's my output:

85 exit
56 sudo
53 cd
52 ls
43 fenris
41 maj
23 grendel
22 nano
12 metacity
12 compiz

I'm an alias freak : Fenris and Grendel are two aliases for ssh connections, and "maj" is an alias to "sudo aptitude update && sudo aptitude upgrade" (maj is short for mise--jour, which is "update" in French)

So I'd love an alias for this...

alias mostused='...' ?

- trib'

Tuna-Fish
July 18th, 2007, 12:25 AM
80 ifconfig
56 sudo
34 iptables
25 defcon
25 cd
24 ls
22 hdparm
19 ps
16 mousepad
14 rar

The network was fubared for a while, due to a hardware failure at the other end. They blamed me first though, so I spent good 4 hours trying to get it to work. Talk about waste of time. Oh, and defcon is a great game.

stepan2
July 18th, 2007, 12:51 AM
cd
make
make install
apt-get install
apt-get remove
apt-get update
apt-get upgrade

Atreus12
July 18th, 2007, 01:17 AM
82 ls
72 cd
50 sudo
22 exit
20 ps
15 man
14 if
12 feh
11 cat
9 screen


Cool :KS

-Andrew

kevinlyfellow
July 18th, 2007, 01:49 AM
For the user account

76 sudo
71 ls
62 cd
46 exit
28 locate
23 less
21 cat
17 man
10 time
10 rm

root account
99 ls
71 cd
40 cat
38 rm
35 make
22 exit
19 cp
18 bzip2
13 make-kpkg
13 dpkg

godd4242
July 18th, 2007, 02:11 AM
In mepis
79 ls
34 firefox
31 VisualBoyAdvance
21 rm
20 bg
18 df
17 halt
15 xmms
12 wine
10 killall

Haha visualBoy

Good times

LookTJ
July 18th, 2007, 02:33 AM
75 sudo
19 ls
16 tar
8 exec
7 cat
6 pacman
5 wget
4 startx
4 rm
3 vim

Hortinstein
July 19th, 2007, 06:05 AM
101 ls
46 cd
40 exit
27 sudo
22 synergyc
19 make
19 iwlist
13 locate
12 nethack
12 killall

tbroderick
July 19th, 2007, 08:40 AM
Fresh install.


53 cd
41 fdm
40 vi
36 less
35 mplayer
33 rm
29 ncmpc
28 mutt
27 wget
27 ls

tomcheng76
July 19th, 2007, 09:41 AM
41 sudo
22 ls
21 cd
18 ps
7 history
5 rm
5 mv
4 kill
4 cat
3 which

B-Con
July 19th, 2007, 09:52 AM
159 sudo
38 gcc
30 man
27 ls
19 arp
18 cd
12 ping
11 who
10 tty
10 find

Not representative of my average usage, though. "gcc" and "arp" are due to my developing an ARP related program in C at the moment. "who" and "tty" was me experimenting with login shells.

PrimoTurbo
July 19th, 2007, 01:28 PM
New install of Ubuntu

54 sudo
11 dir
11 cd
4 gpg
3 ./usp_update
3 mkdir
2 killall
2 history
1 svn
1 rmdir

PrimoTurbo
July 19th, 2007, 01:30 PM
Does everyone have a fresh install or something, because according to the numbers you guys don't use the computer much. My results are only after a 1 day install of ubuntu and I already have used sudo 54 times.

oddin85
July 19th, 2007, 04:01 PM
155 ls
107 cd
38 sudo
25 make
21 clear
19 emacs
13 ./main
12 nautilus
11 gedit
10 rm

:popcorn:

PatrickMay16
July 19th, 2007, 04:23 PM
Here's the result for my desktop computer:
97 cd
51 ls
44 timidity
39 mplayer
39 aplaymidi
24 sudo
24 exit
22 dmesg
20 sfxload
12 gayload

Here's the result for my laptop computer:
63 sudo
58 cd
57 ls
29 nano
21 cat
20 ./ftest3
18 exit
16 ping
14 cpufreq-selector
13 timidity

Nikron
July 19th, 2007, 04:26 PM
Does everyone have a fresh install or something, because according to the numbers you guys don't use the computer much. My results are only after a 1 day install of ubuntu and I already have used sudo 54 times.

Your history file is usually limited. Mine only goes to 500.

Starchild
July 19th, 2007, 04:38 PM
204 sudo
26 xkill
26 cd
23 ping
21 killall
19 ls
19 locate
14 mpd
13 man
10 ssh

fjf
July 19th, 2007, 07:31 PM
Firefox 'clic'
www.ubuntuforums.com
Absolute Beginner Talk 'clic'
Make New Post 'clic'
Help!! How do you.....
(waits 5-30 minutes and reloads the thread and reads)
Post reply 'clic'
Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou

Rocket2DMn
July 19th, 2007, 07:37 PM
In no particular order:
sudo/gksudo - applies to some of the below commands as well
mount -a
umount
ls
cd
cat
less
ssh
gedit
emacs
apt-get install/remove

runlevel 3 owns.

tszanon
July 20th, 2007, 12:06 AM
85 cd
78 ls
64 java
24 nice
22 exit
19 rm
17 rmdir
15 sudo
10 gedit
9 cat


By cd and ls being the most used, you can see I often don't know what's in the current folder... :)

tbroderick
July 20th, 2007, 12:15 AM
In no particular order:
.

Shouldn't there be a definite order?

Rocket2DMn
July 20th, 2007, 03:02 AM
Shouldn't there be a definite order?

Yes, I wasn't in front of my computer to get the actual commands, I was estimating, here's the real thing:
162 sudo
26 ssh
23 ls
18 exit
16 fdisk
15 cd
12 whereis
10 wine
9 gksudo
7 lspci

However, I have multiple machines with different commands, so it doesn't quite match my estimates.

AlexenderReez
July 20th, 2007, 04:11 AM
mine


91 sudo
11 tsocks
7 compiz
5 which
4 history
3 socks
3 netstat
2 locate
2 conky
1 wget

Uzura
July 21st, 2007, 02:09 AM
95 sudo
42 clear
21 locate
20 exit
20 cd
16 echo
15 apropos
9 pidof
8 nano
8 ./configure

I really don't know why I used echo so many times, but there it is. And I clear compulsively.

Cappy
July 21st, 2007, 06:48 AM
63 man
60 sudo
40 cd
33 echo
23 ls
20 locate
9 dpkg
8 wget
8 nano

I'm suprised "ldd" and "apt-cache search" isn't on there .. I've used them SO much.

Wait .. I just tried the second command and it brings up less numbers than the first one =-/

xlinuks
July 21st, 2007, 10:33 AM
129 jc
124 ja
57 clear
46 cd
32 ls
22 sudo
13 ja6
11 eject
7 ./work
6 man
-------------------
Kernel panic: No CPU found

spupy
July 22nd, 2007, 04:38 PM
45 q =quit
42 sudo
40 + =clear
30 amixer
16 cd
12 mpc
12 l =ls
9 ps
9 killall
9 go =a script to start the music, check the repos and fetch the mail
7 leafpad
6 search =apt-cache search
6 install =apt-get install

Aliases ftw :D

Nekiruhs
July 22nd, 2007, 04:44 PM
143 sudo
25 man
21 locate
17 cd
15 nautilus
15 killall
15 gksudo
14 newpy
14 fg
13 ./autogen.sh

Newpy is a custom written bash script to generate a preformatted. chmod-ed, GPLed Python script file, then open it in gedit. We all should know what ./autogen.sh is for. Fg is up there 'cuz I use ctrl +Z alot. It just "unpauses" the process. I like man pages so man is up there (Usually its man tar, there are so many options I cant keep track of them)

Saner
July 22nd, 2007, 04:51 PM
Its a pretty new install


12343434 whereis porn
115 sudo
111 cd
69 ls
22 cedega
15 su
15 kill
14 ps
10 exit
6 wine
6 rutilt

tszanon
July 23rd, 2007, 12:06 AM
12343434 whereis porn
:lolflag:

blithen
July 23rd, 2007, 01:08 AM
8D


102 sudo
36 chmod
25 cd
9 traceroute
8 wget
5 vimtutor
5 exit
4 vim
3 shutdown
3 ./pbsetup.run

kknd
July 23rd, 2007, 01:19 AM
113 sudo
88 cd
76 ls
21 ant
17 make
16 ./Teste
12 locate
12 java
12 ./configure
11 ssh

ivesjd
July 24th, 2007, 04:07 PM
141 ls
123 sudo
110 cd
23 exit
15 mv
9 cat
7 fanspeed
6 firefox
6 ./coretemp
4 top

Fanspeed is an alias to read out my fan speed, which would be something like "cat /sys/devices/platform/applesmc/fan0_actual_speed" I dont know what I would do without aliases!

Gadren
July 24th, 2007, 05:15 PM
252 sudo
37 truecrypt
33 cd
20 ls
9 DISPLAY=:0
8 fbsetbg
7 gpg
7 feh
6 startx
6 make
:)

depeo
July 24th, 2007, 06:18 PM
Here's my irc box :)

107 screen
63 sudo
58 ls
57 cd
54 ping
44 nano
24 exit
12 traceroute
12 rm
12 ps

Billy_McBong
July 28th, 2007, 03:59 AM
135 sudo
51 cd
47 man
22 exit
20 compiz
15 clear
13 wminput
13 ls
10 wget
9 fortune

I12343434 whereis porn

ROFL:lolflag:

runemaste644
August 2nd, 2007, 06:04 PM
76 cd ( i change directories a lot)
61 sudo (from sudo -i and sudo nautilus)
23 ./configure (from configuring packages (doesnt always work))
18 if (i knew i would say what i use it for) :lolflag:
12 echo (same)
11 print (same)
11 make (from when ./configure worked)
10 fi (i dont know)
10 exitcode=1 (something)
10 compiz (I have Compiz Fusion)

but now it says

45 cd
44 sudo
38 figlet
30 my
26 compiz
21 make
17 aptitude
10 =>
9 d
9 ./configure

tszanon
August 2nd, 2007, 06:15 PM
23 ./configure (from configuring packages (doesnt always work))
11 make (from when ./configure worked)
From 23 tries, only 11 succeeded...yeah, sometimes, things don't work. :)

Ballena
August 2nd, 2007, 07:01 PM
My stats:


51 clear
48 cd
40 sudo
27 ls
21 unrar
14 unzip
14 cowsay
10 exit
6 cal
5 rm

crimesaucer
August 2nd, 2007, 07:29 PM
blah@blah-blah:~$ history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nr
221 sudo
56 for
31 conky
29 ls
26 acpi
22 killall
19 free
18 twf
15 cd
8 mv
blah@blah-blah:~$

BackwardsDown
August 2nd, 2007, 08:26 PM
121 make
61 ls
60 ./main
36 ./tetris
30 cd
27 qmake-qt4
22 sudo
21 compiz
11 clear
10 qmake

Currently making my own tetris game :)

BDNiner
August 2nd, 2007, 08:35 PM
75 sudo
14 ls
12 cd
9 novelclient
6 gpg
3 ./install-sh
3 chmod
2 svn
2 idle
1 wget

This is what i got.

drocko
August 2nd, 2007, 08:49 PM
108 ls
74 cd
66 sudo
20 ps
18 echo
16 ssh
15 vi
14 apt-cache
13 pdflatex
13 man

I am glad that LaTeX made it on there!

milosz.galazka
August 2nd, 2007, 10:37 PM
#history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr

45 cd
38 route
37 ls
22 ps
21 ifconfig
20 cat
18 vpnc
13 vi
13 man
12 ping

$history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr
50 ls
47 cd
44 sudo
40
10 ps
10 dls
9 wine
9 cat
6 man
6 make

thatswhatshesaid
August 2nd, 2007, 10:45 PM
history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr
67 ls
62 exit
55 ssh
45 xvncviewer
44 ping
31 cd
17 telnet
11 sudo
10 gedit
8 diff

history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nr
89 ls
73 xvncviewer
70 exit
59 ssh
52 ping
38 cd
17 telnet
14 sudo
11 gedit
9 df

...it's a work computer

coastdweller
August 6th, 2007, 03:41 PM
85 sudo
26 ssh
21 exit
21 cd
16 ls
11 ping
5 sh
5 pico
5 locate
4 w
edgymands

jamienos
August 6th, 2007, 03:55 PM
133 sudo
16 cd
6 dir
4 vdrift
4 gpg
4 frozen-bubble
4 ./configure
3 rm
3 nautilus
3 compiz

V drift can pretty much be ignored.. couldent even get it to work and i dont even have it anymore

133 sudo.. hmmm :P all that sudo apt-get and sudo gedit and sudo.... :)

bmathis
August 6th, 2007, 03:59 PM
heres mine

244 sudo
56 dir
25 cd
18 ssh
8 mysql
7 ifconfig
6 ls
5 dig
4 tail
4 ping

g2g591
August 6th, 2007, 04:20 PM
lots of sudo here too
114 sudo
30 cd
11 wine
8 ls
7 wget
6 winecfg
6 sh
6 man
6 gpg
6 gksu
i don't even use wine anymore (given up on it working on the one thing i needed it to)

Ozor Mox
August 6th, 2007, 04:40 PM
72 ls (directory stuff)
69 sudo (being a super user)
64 cd (directory stuff)
29 exit (for some reason I use this instead of clicking the X!)
21 java (messing around trying to get Java to work)
17 rsync (making backups to my external hard drive)
16 ssh (logging in to my friend's remote server)
14 gksudo (running graphical apps as root)
7 update-java-alternatives (more messing with Java)
7 man (making sure I won't blow up my computer with a command!)


Mine and why I use them!

Steve1961
August 6th, 2007, 04:42 PM
87 sudo
54 cat
20 ls
18 smbtree
17 aptup
14 cd
12 smbclient
10 aptcl
9 vncviewer
8 wget

jagomez
August 6th, 2007, 04:56 PM
123 sudo
85 ls
72 cd
41 ps
27 kill
16 lspci
9 effectv
8 mkdir
5 tar
5 rm

asleepfromtheday
August 6th, 2007, 05:04 PM
14 su
11 cd
9 ls
3 history
2 /usr/ktoon/./ktoon
2 mv
2 ./ktoon
2 gnome-splashscreen-manager
2 glxinfo
2 compiz

for root

22 ls
17 apt-get
13 nano
12 cd
11 splashy_config
7 sudo
6 splashy
5 synaptic
5 rm
5 chmod

Mind you i formatted yesterday! :)

RideP2
August 6th, 2007, 06:05 PM
188 sudo
41 ls
36 cd
28 ./update
26 ./upgrade
12 make
9 top
9 svn
8 man
8 gksudo

RebounD11
August 6th, 2007, 07:20 PM
47 sudo
14 cd
9 ls
3 svn
2 yakuake
2 winecfg
2 vmware
2 locate
2 java
1 wineprefixcreate

Xyhthyx
August 6th, 2007, 08:07 PM
112 sudo
111 cd
69 ls
29 ps
21 svn
17 nano
12 irssi
11 rtorrent
10 parcelle
10 cat

rahul_bhise
August 14th, 2007, 08:21 PM
50 cd
46 sudo
25 ls
25 ./configure
20 vnstat
19 exit
13 make
12 man
11 whereis
10 pwd

Dmole
August 15th, 2007, 06:32 AM
user:
75 ls
69 screen
60 ps
52 man
48 su
35 cd
33 exit
22 top
16 du
13 rtorrent

root:
111 vim
62 ls
24 ps
18 exit
18 cd
17 rm
16 mount
16 cp
15 top
15 man

fluteflute
August 15th, 2007, 02:04 PM
184 sudo
41 cd
20 aptitude
15 ls
10 man
9 wine
9 ps
8 wget
8 mysql
8 apt-get

k0r3
August 15th, 2007, 04:19 PM
104 apt-get
47 ls
39 cd
33 vi
27 apt-cache
16 ssh
13 su
12 ifconfig
11 dpkg
8 umount

andrew.46
August 27th, 2007, 06:43 AM
Hi,

Fascinating exercise:

113 exit
89 slrn
80 mutt
41 man
16 abcde
11 sudo
11 apt-cache
9 whereis
8 ncftp
3 vim

But I notice that nobody else features 'exit'. Is everybody closing their Terminal window with a mouse?

Andrew

PurposeOfReason
August 27th, 2007, 06:45 AM
Most of the killall is for conky when I was editing it.

129 sudo
73 killall
32 cd
12 avatar-factory
12 ./autogen.sh
11 bzr
10 conky
8 locate
8 links2
7 make

LookTJ
August 27th, 2007, 07:00 AM
me:

141 sudo
40 ssh
37 exit
28 ./.xinitrc
19 armagetronad
15 fusion-icon
15 cat
13 ls
7 scrot
6 top

reacocard
August 27th, 2007, 01:59 PM
Hi,

Fascinating exercise:

113 exit
89 slrn
80 mutt
41 man
16 abcde
11 sudo
11 apt-cache
9 whereis
8 ncftp
3 vim

But I notice that nobody else features 'exit'. Is everybody closing their Terminal window with a mouse?

Alt + F4 mostly for me, it's faster than either mouse or exit. :D

markp1989
August 27th, 2007, 03:01 PM
189 sudo
37 cd
25 top
14 fdisk
13 switchmon
13 startx
10 umount
10 mkfs.ext2
10 cp
8 zenity

P4oL1n0
August 27th, 2007, 03:26 PM
241 sudo
56 cd
19 dput
11 wget
11 exaile
8 ls
7 make
7 debuild
7 apt-cache
6 pdebuild

Great Topic :lolflag:

Lux Perpetua
August 27th, 2007, 04:04 PM
Fun topic. :-)


118 g++
99 a.out
54 ls
39 cd
23 ssh
21 cat
16 exit
13 tilda
13 emacs
8 sedtest(sedtest is a small script I was using to learn sed.)

Gwasanaethau
August 27th, 2007, 05:43 PM
Mine are so boring!

117 sudo
60 ls
59 cd
45 echo
43 exit
27 gedit
24 sleep
16 bash
14 rm
12 gksu

red_Marvin
August 27th, 2007, 05:45 PM
98 sudo
65 cd
57 ls
57 fbc
29 nano
25 ./et
12 ps
12 ping
11 man
11 killall

fbc: the freebasic compiler
et: enemy territory - a game

reclusivemonkey
August 27th, 2007, 10:43 PM
But I notice that nobody else features 'exit'. Is everybody closing their Terminal window with a mouse?

I'm just not closing my terminal =]

Kosimo
August 27th, 2007, 10:53 PM
Here are mines:

31 sudo
18 cd
11 ping
9 dir
5 wine
3 glxinfo
2 sudo-cache
2 make
2 iptables
2 ./install.sh

reacocard
August 28th, 2007, 01:37 AM
Update of mine:

Method 1:

502 sudo
138 svn
102 cd
85 ps
77 man
77 ls
67 python
64 bzr
61 killall
59 cat


method 2:

480 sudo
125 svn
99 cd
84 ps
77 man
77 ls
64 python
59 killall
59 cat
57 rm

Lux Perpetua
August 28th, 2007, 03:29 AM
Current standings:


16327 sudo
9486 evolution
8620 cd
8074 ls
1623 exit
1312 man
875 su
862 echo
796 ps
793 ssh
759 vim
659 cat
627 svn
627 locate
577 make
577 clear
569 rm
561 dir
550 sed
475 ping
470 killall
441 wget
358 apt-cache
289 g++
288 d
285 mc
279 screen
273 grep
271 nano
266 kill
265 ./configure
252 apt-get
248 wine
243 gedit
238 for
232 python
220 vi
216 java
211 ifconfig
202 top
184 find
182 pacman
174 mv
170 javac
167 gksudo
165 conky
164 date
161 less
158 cp
156 chmod
152 l
149 history
143 mutt
139 mount
139 printf
133 nohup
132 smart
130 compiz
129 jc
127 startx
124 ja
116 ncmpc
111 ./task2.o
107 aptitude
105 dfIf you posted twice, then you voted twice. Commands with fewer than 100 votes are not included. I'm actually surprised that so many people use sudo so often. It's not even in my top ten.

amazingtaters
August 28th, 2007, 03:56 AM
108 sudo
56 cd
13 wine
7 conky
6 nmap
5 wget
5 top
5 synclient
5 gedit
4 unrar

snowbalrog
August 28th, 2007, 04:23 AM
Here's mine..

55 wine
26 sudo
20 cd
10 pwd
7 winecfg
7 ls
7 ifconfig
6 whois
6 nautilus
5 ping

Looks like I have a drinking problem :)

King_Critter
August 28th, 2007, 05:06 AM
112 sudo
50 cd
19 make
17 gksudo
15 metacity
14 compiz
13 ls
11 g++
10 winecfg
7 wget

Naralas
August 28th, 2007, 05:15 AM
96 g++
49 sudo
48 clear
42 ./chat
29 cd
24 gcc
20 aptitude
19 exit
16 metacity
9 ssh

./chat is there because its a program I was writing.
metacity because I gotta turn off compiz when I run WC3
Also, this install is only 2 weeks old or so.

cudaman73
August 29th, 2007, 04:47 PM
40 sudo
14 cd
13 ls
7 tar
5 ./configure
4 wget
3 rm
3 mv
3 mkdir
3 echo


but i'm also running on a fresh install (less than a day old), so i suppose i'm where i'm supposed to be :P

fighting with compiz is what caused all the sudos

Pjotrovitz
August 29th, 2007, 06:26 PM
84 java
67 javac
50 sudo
30 cd
23 ls
3 cat
2 wget
2 mplayer
2 mount
2 info
Just started learning java :p

PHuN
August 29th, 2007, 06:40 PM
server:


52 nano
49 postconf
44 apt-get
15 cd
11 openssl
11 mysqladmin
11 mkdir
10 a2enmod
9 ln
8 cp


workstaion user:


72 sudo
5 wget
5 glxgears
4 su
3 nano
3 cd
2 ls
1 tremulous
1 putty
1 plog


workstaion su:


23 sudo
6 nano
5 putty
1 cp
1 cd


EDIT Must not have realized that I was su to use all of theose sudo's EDIT

Lux Perpetua
September 2nd, 2007, 02:39 AM
Now that we have all this data, here's another fun game: how does your terminal command usage compare to everybody else's? Here's a quick python program that computes a "similarity score" based on your top 10 terminal commands and the totals in my previous post:
import math
import sys

def two_norm(a):
total = 0
for key in a:
val = a[key]
total += val*val
return math.sqrt(total)

def dot_prod(a, b):
total = 0
for key in a:
if key in b:
total += a[key]*b[key]
return total

def similarity(a, b):
return dot_prod(a, b)/(two_norm(a) * two_norm(b))

def tally(f):
a = {}

import re
format = re.compile('\s*(\d+)\s*(\S+)')
for line in f:
match = format.match(line);
if match:
key = match.group(2)
if key not in a:
a[key] = 0
a[key] += int(match.group(1))

return a

try:
print "Similarity score: ",
print 100*similarity(tally(open(sys.argv[1])),
tally(open(sys.argv[2]))),
print "%"

except IOError:
print "error reading files"

except ZeroDivisionError:
print "undefined"
To use it:
Save my program to a file, say sim.py.
Take the "top 10" output from the OP's shell command and save that to a file. For example, let's save PHuN's server top 10 (post before this one) to top10.txt:


52 nano
49 postconf
44 apt-get
15 cd
11 openssl
11 mysqladmin
11 mkdir
10 a2enmod
9 ln
8 cp Take the thing you want to compare it to, namely my totals from the earlier post, and save that to a file, say total.txt:
16327 sudo
9486 evolution
8620 cd
8074 ls
1623 exit
1312 man
875 su
862 echo
796 ps
793 ssh
759 vim
659 cat
627 svn
627 locate
577 make
577 clear
569 rm
561 dir
550 sed
475 ping
470 killall
441 wget
358 apt-cache
289 g++
288 d
285 mc
279 screen
273 grep
271 nano
266 kill
265 ./configure
252 apt-get
248 wine
243 gedit
238 for
232 python
220 vi
216 java
211 ifconfig
202 top
184 find
182 pacman
174 mv
170 javac
167 gksudo
165 conky
164 date
161 less
158 cp
156 chmod
152 l
149 history
143 mutt
139 mount
139 printf
133 nohup
132 smart
130 compiz
129 jc
127 startx
124 ja
116 ncmpc
111 ./task2.o
107 aptitude
105 df
Run the command
python sim.py top10.txt total.txt and post the output! In this example, the score is about 7.78%, which is quite low. My score is higher, but still low: 22.20%.

I think my program is pretty robust: your files can have garbage in them; it'll just be ignored. Also, you can have multiple lines with the same command, and they'll all be counted.

If any of you is a statistician, feel free to replace my similarity test by something more sophisticated. As far as I know, my similarity score isn't a useful statistical measure of anything; it's just a rough sort of correlation.

mpgarate
September 2nd, 2007, 03:27 AM
203 sudo
42 cd
19 wget
17 chmod
13 tar
11 xvidcap
10 obexftp
9 obex_test
8 ./get_play_counts.rb
8 cp

davtaine
September 2nd, 2007, 08:13 AM
63 su
43 lsof
28 exit
23 top
14 free
14 apt-cache
11 infobash
9 glxgears
5 htop
3 w

ryno519
September 2nd, 2007, 09:03 AM
Hi,

Fascinating exercise:

113 exit
89 slrn
80 mutt
41 man
16 abcde
11 sudo
11 apt-cache
9 whereis
8 ncftp
3 vim

But I notice that nobody else features 'exit'. Is everybody closing their Terminal window with a mouse?

Andrew

145 ls
99 cd
73 sudo
60 exit
22 clear
17 make
10 ./configure
8 mkdir
7 rm
5 vrms

Guess this makes two of us. :P

Bothered
September 2nd, 2007, 10:20 AM
112 g++
63 ./PrimeFind
62 ls
58 cd
28 ./a.out
14 sudo
12 ./NumFind
9 rm
8 gedit
6 less

Gives away my recent playing around with the GNU MP library.

Bert_2
September 2nd, 2007, 10:27 AM
Here are mine:

154 sudo
61 cd
13 man
12 wine
12 java
11 nvidia-installer
10 rm
9 umount
8 ping
8 clear

hessiess
September 2nd, 2007, 10:37 AM
148 cd
72 ls
67 make
60 sudo
16 ./main
16 alsamixer
8 lspci
7 nano
7 exit
6 uptime

Bachstelze
September 2nd, 2007, 12:33 PM
Updated :p

Myself@desktop :

117 sudo
46 ls
41 cd
29 echo
17 wine
13 unzip
13 cat
12 man
11 mv
11 mplayer


root@desktop :

20 exit
13 nano
12 sudo
11 echo
10 emerge
8 hibernate
5 make
4 mirrorselect
4 chroot
4 cd


Myself@server :

66 cd
56 ls
45 sudo
39 ps
35 nano
32 fortune
22 mutt
22 less
19 echo
18 exit

Skrynesaver
September 2nd, 2007, 01:27 PM
Curious idea, it might be worthwhile to see what similarity score is needed to fit everyone within say 3 groups and to see if we could classify the role of the computer on that basis. Just goes to show even the most harmless revelation of information can reveal information you hadn't expected to reveal.

saxin
September 2nd, 2007, 01:32 PM
50 sudo
25 cd
17 ls
15 ssh
11 wine
6 alsamixer
5 apt-cache
3 uname
3 man
2 vmware

Tea4all
September 2nd, 2007, 05:34 PM
Me :64 sudo
39 cd
38 ps
24 ls
20 wine
11 echo
11 a1=`ps
9 man
9 find
8 winecfg

Dr Small
September 2nd, 2007, 05:36 PM
100 sudo
50 crontab
25 cd
19 man
19 date
17 clear
16 ssh
15 tor
15 killall
13 exit

ryanVickers
September 3rd, 2007, 01:14 AM
first command (history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail | sort -nr):


116 sudo
35 clear
23 slow
22 clean
16 glxgears
15 ls
13 finder
11 gconf-editor
10 superclean
10 ./slow.sh


second command(history | sed -e 's/ / /g' | cut -d " " -f3 | sort | uniq -c | sort -n | tail | sort -nr):


108 sudo
23 clear
20 slow
17 clean
16 glxgears
10 superclean
10 gconf-editor
10 cd
9 ls
9 gksudo


I don't use it alot! :)

superclean, clean, slow, and finder are all custom scripts :), which tend to use other commands, like gconf-cleaner and clean (from superclean)...

nest
September 3rd, 2007, 01:26 AM
140 sudo
86 killall
82 conky
21 ls
18 cd
17 irssi
11 exit
11 apt-get
10 fg
9 python

Kolfinna
September 3rd, 2007, 01:36 AM
29 nano
28 iwlist
26 exit
25 iwconfig
23 apt-get
15 ifconfig
11 ls
10 sudo
9 man
9 dhclient