Your top ten linux commands ?
Tuesday, August 7th, 2007So 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.
