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
- how to add / remove swap file on debian 9
- debian / ubuntu dig command not found
- how to clear journal logs (/var/log/journal)
- how to setup source based (policy based) routing on debian / ubuntu
1,978