CLI
2019-03-13

This will act as an evergreen collection of cli commands I find myself using often enough to want a reference but not often enough to actually remember them between uses.

What is listening on which port?

  • netstat -ltnp
  • lsof -iTCP -sTCP:LISTEN -n -P

Find out what is using my disk space

  • du -h --max-depth=1 | sort -hr

Start a web server in the current directory with Python 3

  • python -m http.server 8000