본문 바로가기

Work/Linux(6.x)_centos

centos6 사용중인 포트 확인

#netstat -tulpn | grep LISTEN


[root@centos6 /]# netstat -tulpn | grep LISTEN

tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1593/rpcbind

tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      1809/sshd

tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      1674/cupsd

tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      2035/master

tcp        0      0 0.0.0.0:40732               0.0.0.0:*                   LISTEN      1641/rpc.statd

tcp        0      0 :::111                      :::*                        LISTEN      1593/rpcbind

tcp        0      0 :::37620                    :::*                        LISTEN      1641/rpc.statd

tcp        0      0 :::22                       :::*                        LISTEN      1809/sshd

tcp        0      0 ::1:631                     :::*                        LISTEN      1674/cupsd

tcp        0      0 ::1:25                      :::*                        LISTEN      2035/master


-t : tcp

-u : udp

-l : listerning

-p : program

-n : numeric

'Work > Linux(6.x)_centos' 카테고리의 다른 글

centos6 selinux 설정  (0) 2015.07.23
centos6 hostname 변경  (0) 2015.07.23
centos6 ssh 접속시 느릴때  (0) 2015.07.23
centos 일회성 작업 예약 at 명령어  (0) 2015.07.22
centos,Redhat storage Fc 카드 관련  (0) 2015.05.21