cheat/cheatsheets/lsof
2013-10-09 00:16:31 +02:00

8 lines
151 B
Text

# List all ipv4 network files
sudo lsof -i4
# To find listening ports:
lsof -Pnl +M -i4
# To find which program is using the port 80:
lsof -i TCP:80