Linux

Categorized | Uncategorized

Which are your most-used Linux commands?

You can display a top 10 of your most-used Linux commands by pasting this in your console:

history | awk ‘{print $2}’ | awk ‘BEGIN {FS=”|”}{print $1}’ | sort | uniq -c | sort -n | tail | sort -nr

The output will be something like

76 cd
73 sudo
45 ls
37 whois
28 apt-cache
24 locate
15 htop
13 qemu
11 cat
10 nano

Author Profile

T4L ;

Other posts by T4L

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


2 Comments

  1. 1
  2. Zach

    You should make sure your blogging platform doesn’t convert your ‘ and ” before you post.

    2

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>