New lsof cheat

This commit is contained in:
Özgür Özdemircili committed 2013-08-30 12:16:48 +02:00
1 parent 9e1ea4fae4
commit 6abab41aa6
1 file changed
+4 -1
+4 -1
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