Thursday, February 15, 2024

Most Used Terminal Commands

This was an unsurprising list but here are my most used terminal commands:

4754 git
 835 clear
 697 node
 582 cd
 458 j
 441 yarn
 431 npm
 265 gst
 192 code
 130 bun
 126 npx
  78 mryum
  67 mkdir
  58 tilt
  53 docker
  48 deno
  35 curl
  31 ssh
  31 brew
  28 ub

To get this output I ran:

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

which itself is a cool use case for the pipe operator.