Netstat Command with examples

By | August 13th, 2012|Operating Systems, UNIX - LINUX|

netstat - show network status DESCRIPTION: The  netstat  command  displays  the  contents  of   certain network-related  data structures in various formats, depend-ing on the options you select.  How to view Established connections only? # netstat -natu | grep 'ESTABLISHED' List All Ports (both listening and non listening ports) List all ports using netstat –a # netstat [...]