Difference between revisions of "Netstat -vatunp"

From wikieduonline
Jump to navigation Jump to search
Line 24: Line 24:
 
== Related commands ==
 
== Related commands ==
 
* <code>[[netstat -lnpt]]</code>
 
* <code>[[netstat -lnpt]]</code>
 +
[[netstat -tulpen]]
  
 
== See also ==
 
== See also ==

Revision as of 23:22, 27 September 2022

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
netstat -vatunp 
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      1 10.10.10.10:56608      10.10.10.99:23         SYN_SENT


TCP Listening ports, UDP will not be shown:

netstat -vatunp | grep LISTEN 


Related commands

netstat -tulpen

See also

Advertising: