우분투를 사용하는데,
현재 내 우분투가 사용하는 포트가 궁금해서 명령어를 입력했더니
다음과 같은 에러가 발생했다.
netstat -tnlp | grep "LISTEN"
Command 'netstat' not found, but can be installed with: sudo apt install net-tools
이건 netstat라는 명령어가 설치 안됐다는 이야기인데,
설치해보자.
sudo apt-get install net-tools
다시 명령어를 입력해보자
netstat -tnlp | grep "LISTEN"
잘 확인된다.
'Operating System > Linux' 카테고리의 다른 글
[Windows11] 그래픽 드라이버 업데이트 하는 방법 (0) | 2022.05.21 |
---|---|
[Linux_Ubuntu] 에러 zsh: permission denied: (0) | 2022.04.02 |
[Linux_Ubuntu] ERROR: You need to be root to run this script (0) | 2022.04.01 |
[Linux_Ubuntu] 우분투의 root 계정 접속하는 방법 (0) | 2022.04.01 |
[Linux_Ubuntu] mkdir: cannot create directory 'filename': File Exists (0) | 2022.04.01 |