cheat/cheatsheets/lsof

5 lines
105 B
Plaintext
Raw Normal View History

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:
lsof -i TCP:80