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

6 lines
156 B
Plaintext
Raw Normal View History

# To view which users/processes are listening to which ports:
sudo netstat -lnptu
2013-09-01 22:04:17 +02:00
# To view routing table (use -n flag to disable DNS lookups):
netstat -r