SSH netstat command

If you wish to debug or track statistics of your network in a Linux environment you can use SSH netstat command. In this article, we will show you the basic usage of the SSH netstat command that you can master on SSH Shared Hosting plan, SSD VPS or a Dedicated Server.

cPanel Hosting from WebhostFace

Displaying all sockets – TCP and UDP with SSH netstat command

netstat -a

Displaying specific protocols using netstats and SSH

netstat -at # TCP
netstat -au # UDP

Displaying all listening ports

netstat -l
netstat -lt # TCP listening

Displaying all listening, over TCP and UDP, in numeric and their ports

netstat -tulnp

Master your Linux knowledge by using this list of Top SSH Commands for Beginners and Experts on an SSH Shared Hosting plan, SSD VPS or a Dedicated Server.