contador web Skip to content

How to find out which 10 commands you use most on Linux

Linux terminalIf you are an avid Linux user and use the terminal frequently, you may want to know which commands you use most. Well there is a very simple way to do this:

Open the terminal and paste this command:

history | awk '{print $ 2}' | sort | uniq -c | sort -rn | head -10 In my case the result was:

dionatan @ dionatan-Aspire-5250: ~ $ history | awk '{print $ 2}' | sort | uniq -c | sort -rn | head -10 165 sudo 7 xkill 6 uname 6 skype 4 wget 4 unity 4 ls 4 cd 1 zramswap-enabler 1 zram-enabler

Source

Stay on top of everything that happens at Diolinux …

Twitter Diolinux "src =" http://2.bp.blogspot/-VCCu7Ke2LFA/TqLa2WjzHaI/AAAAAAAAZQ/EbYw32VQMZs/s000/twitter.png "style =" cursor: move;@blogdiolinux Facebook "src =" http://1.bp.blogspot/-XfyY7vEVwxw/TqLa2pTRTKI/AAAAAAAAAZ/VsLafhC-cfI/s000/facebook.png blogdiolinux Twitter Diolinux "src =" http://2.bp.blogspot/-VCCu7Ke2LFA/TqLa2WjzHaI/AAAAAAAAQ/EbYw32VQMZs/s000/twitter.png@dionatanvs Google Plus "src =" http://1.bp.blogspot/-Pk6eu7KfCSc/TqLa23mRhkI/AAAAAAAAAZg/3z2_LnO_rTI/s000/gplus.png Go Google +