[root@localhost rew]# ss -ta
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 *:sunrpc *:*
LISTEN 0 5 192.168.122.1:domain *:*
LISTEN 0 128 *:ssh *:*
LISTEN 0 128 127.0.0.1:ipp *:*
LISTEN 0 100 127.0.0.1:smtp *:*
LISTEN 0 128 127.0.0.1:x11-ssh-offset *:*
ESTAB 0 52 192.168.128.42:ssh 192.168.128.90:61722
LISTEN 0 128 :::sunrpc :::*
LISTEN 0 128 :::ssh :::*
LISTEN 0 128 ::1:ipp :::*
LISTEN 0 100 ::1:smtp :::*
LISTEN 0 128 ::1:x11-ssh-offset :::*
[root@localhost rew]#
-n show numbers instaed of names for interfaces and ports
-t show tcp sockets
-u show udp sockets
-l show only listening sockets
-a show all(listening and established) sockets.
-p show the process using the socktes
'IT > LINUX' 카테고리의 다른 글
ouput redriection operators (0) | 2019.05.22 |
---|---|
running commands as root with sudo (0) | 2019.05.22 |
managing user password aging (0) | 2019.05.22 |
UID ranges (0) | 2019.05.22 |
masking service (0) | 2019.05.22 |