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.
636