putty를 이용하여 ubuntu에 접속해 mysql을 연결하려고 했으나 제대로 설치가 되었는지 sudo netstat -tap | grep mysql 명령어를 치면 netstat : command not found가 나왔습니다.

 

검색을 해보니까 net-tools을 포함하는 관련 패키지인 netsta가 설치 되어 있지 않아 발생한 에러였기에 수동으로 설치해주면 해결했습니다.

$ sudo apt update
$ sudo apt install net-tools

다시 sudo netstat - tap | grep mysql 을 치면 성공적으로 돌아가는 걸 볼 수 있습니다

 

 

https://linuxconfig.org/bash-netstat-command-not-found-debian-ubuntu-linux

 

bash: netstat: command not found – Debian/Ubuntu Linux

In this tutorial, we show how to install the missing netstat command on Ubuntu and Debian Linux based systems.

linuxconfig.org

 

 

'WEB-DEV > etc study' 카테고리의 다른 글

동기와 비동기란  (0) 2022.12.01
URI과 URL 차이에 대해서  (0) 2022.06.14
[컴퓨터]메모리가 디스크보다 성능이 빠른 이유  (0) 2022.05.31
MySQL Safe mode 해제하기  (0) 2022.05.12

+ Recent posts