cheat/cheatsheets/netstat
2013-09-01 16:04:17 -04:00

6 lines
156 B
Plaintext

# To view which users/processes are listening to which ports:
sudo netstat -lnptu
# To view routing table (use -n flag to disable DNS lookups):
netstat -r