With Terminal: find out which command you use the most

I am the type of user who uses the terminal a lot, if I can do something with it I just do it ... I find it more "simple" 😀

Here I will show you a trick, I honestly do not remember in which blog on the network I saw it ... but well, it is certainly a curiosity 😉

The following command will show which are the commands that we have used the most:

history | awk '{print $2}' | sort | uniq -c | sort -rn | head

In my case the result is the following:

136 sudo
61 cd
40 wget
25 pac-man
18 ls
17 python
16 forum
15 ssh freedom
13 ping
13 pm

The number to the left of the command is the number of times we use it 😉

This, as you can see, is nothing more than a curiosity, a tip, something interesting ... but I think that more than one will be struck, because many of us want to know which commands are the ones we use the most or not? ... LOL !!!

regards


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   diazepam said

    120 sudo
    17vrms
    15 man
    14 gksudo
    14 cd
    10 lspci
    10 conky
    8 finds
    NEVER uptime
    7 i2prouter

  2.   jqs said

    that if I knew it, otherwise, good contribution.

  3.   Luis Alberto Rivas said

    Interestingly, sudo, cd, and exit top my list.

  4.   Mauritius said

    Good info, as root it gave me:

    45 pac-man
    44 exit
    17 nano
    13 update (aka)
    12 synchro (aliases)
    12 cd
    11 reboot
    11 mkinitcpio
    5 ls
    3 pacman-db-upgrade

    And as a normal user it gave me:

    104 on
    71 exit
    62 yaourt
    47 cd
    22 ls
    18 sudo
    16 search (alias)
    10 java
    HP 9
    6 ./touchpad.sh

  5.   spreaderelinux said

    Here I leave you my history, go the nes;))

    83 on
    39 scrot
    31 start x
    26mv
    23 ls
    17 cd
    16 zsnes
    16 echo
    Feb 14
    rm 10

  6.   ren said

    Go that useless but curious xD shows me this.
    555 cd
    105 sudo
    60 clear
    20 cowsay
    15 lucky
    13 ls
    11 nano
    grep 11
    9 cat
    7 lscpu

  7.   electron22 said

    He gave me
    330 fitness
    101 cd
    28 logitech_applet
    21 dpkg
    20 nano
    20 ls
    18cmake
    rm 16
    14chmod
    12mencoder

  8.   Rayonant said

    Very curious because it gives me this:

    130 sudo
    23 on
    17 cd
    13 ls
    12 wbar
    11 sh
    11 sensors
    10 make
    9 appropriate
    8 patch

  9.   Rayonant said

    Very curious, because it gives me this:
    130 sudo
    23 on
    17 cd
    13 ls
    12 wbar
    11 sh
    11 sensors
    10 make
    9 appropriate
    8 patch
    By the way, why is there a capture of the elav terminal?

    1.    Courage said

      Because in old Gaara's there are things he doesn't want us to see

    2.    KZKG ^ Gaara said

      There is a capture of elav, because looking at the images uploaded before to the blog that seemed interesting to me, I did not give importance to it being from elav haha ​​... in the end that is the least

  10.   air0 said

    As always very interesting:
    133 cd
    101 fitness
    99 python
    66 ls
    50 blades
    48 history
    38 on
    29 ps
    27 kill all
    26 nano

  11.   elav <° Linux said

    113 sudo
    30 proxy
    29 cd
    24 mc
    20 screen
    19 install
    17 dns
    16 ps
    16 ./configure
    15 correo

  12.   Fernando said

    103 ping
    57 ls
    49 cd
    31 apt-get
    27 ssh
    26 exit
    24 fitness
    19 saw
    17 /etc/init.d/networking
    12 days

  13.   Raul said

    I think it says a lot about me, and what I do. xD xD
    92 cd
    87 sudo
    57 git
    34 grails
    33 ls
    16 griffon
    14 sublime_text
    14 php
    rm 13
    12 saw

  14.   nwt_lazaro said

    here is my output:

    141 sudo
    96 cd
    82 ls
    47 man
    45 wine
    33 ping
    27 wget
    26 exports
    22 winecfg
    21 echo

    the war3 was placed with the wine xD !!

  15.   nwt_lazaro said

    this is my output:

    I got the war3 with the wine, haahaha

    141 sudo
    96 cd
    82 ls
    47 man
    45 wine
    33 ping
    27 wget
    26 exports
    22 winecfg
    21 echo

  16.   rainbow_fly said

    100 sudo
    65 systemctl
    63 cd
    45 ping
    28 nano
    26 7z
    24 wget
    23 kill all
    20 ls
    19 youtube-dl