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

5 lines
156 B
Text

# 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