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 Usuários acharam útil
Esta resposta lhe foi útil?

Artigos Relacionados

Linux tar Command

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

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...

Linux su command

The su command is most commonly used to switch to another user. You will then be able to run...

Linux wc command

If you’re interested in finding the word count or lines of a file in your Linux environment you...

Powered by WHMCompleteSolution