1
0
mirror of https://github.com/cheat/cheat.git synced 2024-12-23 13:09:44 +01:00
cheat/cheatsheets/lsof

6 lines
106 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:
2013-09-01 19:30:44 +02:00
lsof -i TCP:80