NC 명령을 사용해서 포트 스캔을 할 수 있다.
omegaman@MyUbuntu:~$ nc -zv 127.0.0.1 8085-8088
nc: connect to 127.0.0.1 port 8085 (tcp) failed: Connection refused
Connection to 127.0.0.1 8086 port [tcp/*] succeeded!
nc: connect to 127.0.0.1 port 8087 (tcp) failed: Connection refused
Connection to 127.0.0.1 8088 port [tcp/omniorb] succeeded!
omegaman@MyUbuntu:~$ nc -zv 127.0.0.1 8086
Connection to 127.0.0.1 8086 port [tcp/*] succeeded!
'시스템 > Unix command' 카테고리의 다른 글
현재 디렉토리가 속한 파티션 및 용량 확인 (0) | 2018.07.20 |
---|---|
파일 검색방법 참고 (0) | 2018.07.17 |
od - 바이너리 파일 덤프 (0) | 2018.07.01 |
vim을 shell script에서 실행하는 방법 (0) | 2018.04.27 |
rlwrap - readline 이 적용되지 않은 program 을 위한 wrapper (0) | 2018.04.27 |