What is your terminal most used commands?

twitter logo github logo ・1 min read

history | awk '{print $2}' | sort | uniq -ci | sort -gr | head -n 20
   3440 git
    884 npm
    702 cd
    455 sudo
    444 townh
    235 cdg
    427 rm
    222 mv
    203 npx
    199 ls
    153 jq
    151 npi
    139 code
    127 cp
    102 php
     93 docker
     91 vim
     90 cat
     88 mkdir
     54 grep
# git-town is a tool to speed up your git work http://www.git-town.com
alias townh='git-town hack'

# cd into repository root folder
alias cdg='cd $(git rev-parse --show-toplevel)'

# shorter npm install
alias npi='npm install'

twitter logo DISCUSS
Classic DEV Post from May 24

Follow Friday: What DEV member would you recommend following?

Andrew Luca profile image
How good is your Google Fu? All in Developer!

Still haven't created a profile?

DEV is open source, committed to the open web, and quickly becoming the biggest world's biggest network of software developers.

Get started now ❤️