1
0
mirror of https://github.com/cheat/cheat.git synced 2024-12-22 20:55:06 +01:00
cheat/cheatsheets/lsof
2013-09-01 13:30:44 -04:00

6 lines
106 B
Plaintext

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