cheat/cheatsheets/lsof

9 lines
151 B
Plaintext
Raw Normal View History

2013-10-09 00:16:31 +02:00
# List all ipv4 network files
sudo lsof -i4
2013-08-30 12:16:48 +02:00
# To find listening ports:
2013-08-26 16:51:57 +02:00
lsof -Pnl +M -i4
2013-08-30 12:16:48 +02:00
# To find which program is using the port 80:
2013-09-01 19:30:44 +02:00
lsof -i TCP:80