Linux netstat command

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

Displaying all sockets – TCP and UDP

netstat -a

Displaying specific protocols

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
  • 0 用戶發現這個有用
這篇文章有幫助嗎?

相關文章

Linux tar Command

The Linux tar command is used to compress and extract files to and from an archive. In this...

Linux top command

If you wish to monitor the performance of your VPS or Dedicated server and track processes, RAM...

Linux ping command

If you wish to test your connection to a server from your Linux system you can use the Linux ping...

Linux file command

The file command is used to check a file’s type and contents in Linux environment. It is most...

Linux export command

When you’re managing your shell’s variables and you wish to save them to your environment you can...