Snippets are one of my favorite parts of programming. The shear endless depth of command line tricks and customizations is so exciting! Here is a collection I maintain for myself to comeback to.

Also navigable by list of snippet types here.


Who Is Using that damn port? (Mac) -- 11.01.2020 %

$ sudo lsof -i:3000

Launching a process and it’s complaining about port being in use? With 100 shells running and os apps this can be hard to track down. Run this to get an idea of what to kill.

source:

superuser

\- [ lsof ]
<---- back home