How to use netstat command

0
(0)

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

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

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

Scroll to Top