mirror of
https://github.com/cheat/cheat.git
synced 2024-11-22 14:01:36 +01:00
9 lines
151 B
Plaintext
9 lines
151 B
Plaintext
# 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
|