Difference between revisions of "Netstat -vatunp"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 15: Line 15:
 
TCP Listening ports, [[UDP]] will not be shown:
 
TCP Listening ports, [[UDP]] will not be shown:
 
  netstat -vatunp | grep [[LISTEN]]  
 
  netstat -vatunp | grep [[LISTEN]]  
 +
 +
 +
== Related commands ==
 +
* <code>[[netstat -lnpt]]</code>
  
 
== See also ==
 
== See also ==
 
* {{netstat}}
 
* {{netstat}}

Revision as of 09:52, 15 July 2020

netstat -vatunp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      12930/systemd-resol
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      3376/dnsmasq
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2981/sshd
tcp        0    196 10.10.110.25:22         10.10.10.67:52541       ESTABLISHED 18866/sshd: USERNAME
tcp6       0      0 :::22                   :::*                    LISTEN      2981/sshd
udp        0      0 127.0.0.53:53           0.0.0.0:*                           12930/systemd-resol
udp        0      0 192.168.122.1:53        0.0.0.0:*                           3376/dnsmasq
udp        0      0 0.0.0.0:67              0.0.0.0:*                           3376/dnsmasq


TCP Listening ports, UDP will not be shown:

netstat -vatunp | grep LISTEN 


Related commands

See also

Advertising: