19
Dacexi
7y

What are your most used commands? Find out by running:
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head -1

Comments
  • 1
    Mine is ll
  • 2
    This is my local linux VM that hosts my web server so not full day to day usage

    320 svn
    311 cd
    251 ls
    118 ssh
    76 ip
    70 mysql
    66 systemctl
    52 grep
    38 vim
    27 npm
    24 ./bin/mount
    20 node
    15 rm
    14 cat
    13 find
    12 ping
    11 mysqldump
    11 clear
    10 nc
    9 pacman
    9 nmap
    7 reboot
    7 find|grep
    6 php
  • 2
    Mine just lists Git .... with 821 usages
  • 6
    Okay, i removed the "head -1" and got the following:
    821 git
    693 cd
    689 gst
    432 ga
    416 dotnet
    312 ..
    272 gc
    253 docker
    237 npm
    198 code
    169 gco
    148 yo
    147 ls
    118 gp
    102 brew
    and the rest is under 100
  • 5
    "Find out by running this simple little command" TRIGGERED
  • 6
    1528 fucking
    ( alias fucking = sudo )
  • 1
    1 history (-c)
  • 0
    @Condor it's an alias for my drive. meme = CD meme\ drive and anis = cd Anis
  • 0
    4152 git
    2563 clear
    378 ls
  • 0
    Can someone please help me understand that how the loop is working here
Add Comment