New lsof cheat

This commit is contained in:
Özgür Özdemircili 2013-08-30 12:16:48 +02:00
parent 9e1ea4fae4
commit 6abab41aa6

View file

@ -1,2 +1,5 @@
# To find listening ports
# To find listening ports:
lsof -Pnl +M -i4
# To find which program is using the port 80:
lsof -i TCP:80