Today I Learned

2022/08/29

lsof ports bash

That you can list the listening ports on a UNIX machine using sudo lsof -i -P -n | grep LISTEN