New lsof cheat
This commit is contained in:
1 parent
9e1ea4fae4
commit
6abab41aa6
1 file changed
+4
-1
+4
-1
@@ -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
|
||||
Reference in new issue
Block a user