How to use netstat command

4
(1)

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:

2,159

How useful was this post?

Click on a star to rate it!

Average rating 4 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top