New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Share your top 10 linux commands
As seen on HN, run
$ history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10
to get your 10 most used linux commands.
Mine are:
1 46 20.8145% vim
2 31 14.0271% ls
3 21 9.50226% git
4 20 9.04977% supervisor
5 12 5.42986% more
6 6 2.71493% ssh
7 6 2.71493% cd
8 5 2.26244% nano
9 4 1.80995% ps
10 3 1.35747% sudo

Comments
EDIT: As root:
Haha
Home Workstation - Just formatted this week
Secondary Server (my main one is offline)
From a node
nevermind
1 79 15.8% service 2 68 13.6% ls 3 52 10.4% apt-get 4 36 7.2% htop 5 32 6.4% ifconfig 6 27 5.4% cd 7 24 4.8% exit 8 18 3.6% cat 9 15 3% truncate 10 15 3% nanomessed up code
1 95 38.4615% ls 2 59 23.8866% cd 3 28 11.336% apt-get 4 12 4.8583% rm 5 11 4.45344% vzctl 6 8 3.23887% cat 7 6 2.42915% wget 8 5 2.02429% vi 9 4 1.61943% dpkg 10 3 1.21457% vzdumpI ran the command but the output was "you have been pwned by kornnflake." Am I doing something wrong?
mail server:
1 121 12.1121% qmailctl 2 72 7.20721% tac 3 69 6.90691% df 4 61 6.10611% cat 5 60 6.00601% clear 6 49 4.9049% cd 7 41 4.1041% tail 8 37 3.7037% vim 9 37 3.7037% ls 10 35 3.5035% duwork shell server:
1 305 30.2279% ping 2 178 17.6412% telnet 3 153 15.1635% ssh 4 124 12.2894% clear 5 91 9.01883% host 6 47 4.65808% nc 7 43 4.26165% mtr 8 9 0.891972% nmap 9 8 0.792864% whois 10 8 0.792864% catsame work shell server but different output from screen session:
1 355 35.5% ssh 2 207 20.7% clear 3 137 13.7% host 4 111 11.1% ping 5 39 3.9% telnet 6 21 2.1% whois 7 17 1.7% cat 8 14 1.4% dig 9 12 1.2% mtr 10 10 1% netstat1 178 18.1078% cd 2 156 15.8698% ls 3 151 15.3611% nano 4 90 9.15565% clear 5 64 6.51068% service 6 43 4.37436% make 7 42 4.27263% asterisk 8 33 3.35707% mysql 9 25 2.54323% chown 10 22 2.23805% rm1 196 19.6% ssh 2 116 11.6% sudo 3 54 5.4% ping 4 45 4.5% pico 5 35 3.5% screen 6 34 3.4% killall 7 33 3.3% cd 8 29 2.9% cat 9 27 2.7% bash 10 23 2.3% rmDesktop;
This is on one of new nodes.
Seems Cd command an LS is mostly used. Ironicly i would thought watch would be mostly used.
unzip;mount;fsck;umount;zip
nano?
nano / pico - alternate of vi