Usage netstat command
# netstat -na
- view all opened ports
# netstat -nat
- view all opened TCP ports
# netstat -nau
- view all opened UDP ports
# netstat -npl
- view all listening ports/TCP/UDP/unix sockets.
# netstat -nptl
- view all listening TCP ports
# netstat -npul
- view all listening UDP ports
# netstat -nplx
- view all listening unix sockets.
# netstat -s
- view all protocols statistics
# netstat -r
- show kernel ip routing table
…and many more.
Similar Posts:
- Usage netstat to determine DoS/ddos attack
- howto use netplan in ubuntu 20.04 with 2 lan interfaces + policy based routing
- how to add / remove swap file on debian 9
- CSF CLI (Command Line Interface) Cheat Sheet
- debian / ubuntu dig command not found
2,330