Command Line Skills

Check for ports that are open.
bash
lsof -i :4321,4322
Kill running ports
bash
lsof -ti:4321-4323 | xargs -r kill
Check for node processes in the filesystem observers
bash
ps aux | grep -i "node.*tidyverse" | grep -v grep
Save the output of a command to a file. In this example, pnpm build:
bash
pnpm build 2>&1 | tee build_output.txt