반응형
리눅스 환경에서 해당 포트가 사용중인지 확인할 때 주로 netstat 명령어를 사용하게 됩니다. Vmware 나 가상환경에서 리눅스 설치 후 netstat 명령어가 수행되지 않을 때 설치하는 방법입니다.
에러 발생
netstat -a
-bash: netstat: command not found
Netstat 설치
yum install -y net-tools
net-tools 설치 후 netstat로 조회시 정상적으로 수행.
반응형
'OS > Linux' 카테고리의 다른 글
[Linux] 리눅스환경 압축, 압축풀기 (zip, tar, gz) 사용법 (0) | 2022.04.15 |
---|---|
[Linux] 리눅스 alias 별칭 사용방법 및 환경변수 등록 (0) | 2022.04.13 |
[Linux] grep 명령어 사용법 및 예제(문자열 검색) (0) | 2022.04.12 |
[Linux] 쉘 스크립트 While 문 사용법 (0) | 2022.04.11 |
[Linux] sqlplus, tbsql 백스페이스 사용법 (0) | 2022.01.17 |