본문 바로가기
리눅스(Linux)/Ubuntu

[우분투 22.04] "Command 'netstat' not found, but can be installed with:" 해결 방법

by 연구자 공학코드 2025. 2. 5.

공지사항

  1. 제가 운영하는 네이버 카페 개발자 커뮤니티 코어큐브(https://cafe.naver.com/ewsncube)에 가입하시면 컴퓨터 관련 학습 자료와 질의응답을 제공받으실 수 있습니다.

728x90
반응형

현상

우분투 22.04에서 netstat 명령어를 입력하면 아래와 같이 오류가 발생한다.

오류가 발생한 화면

Command 'netstat' not found, but can be installed with:
sudo apt install net-tools

해결 방법

아래의 명령어를 입력하여 netstat 명령어를 수행하는 프로그램을 설치한다.

sudo apt install net-tools

net-tools가 설치된 화면

net-tools 패키지가 설치된 후 netstat 명령어를 사용하면 아래와 같이 잘 동작하는 것을 확인할 수 있다.

netstat 명령이 수행된 화면

728x90
반응형

댓글