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
kornnflake
Member
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
messed 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% vzdump
I ran the command but the output was "you have been pwned by kornnflake." Am I doing something wrong?
mail server:
work shell server:
same work shell server but different output from screen session:
Desktop;
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