새소식

Operation System/Unix & Linux

netstat: command not found

  • -
728x90
반응형

netstat 유틸리티 설치 방법


netstat

 

CentOS

[root@d86a1cc708f1 ~]# yum install -y net-tools

[root@d86a1cc708f1 ~]# netstat    
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node   Path

Ubuntu

root@2e7d55ea6f88:~# apt-get install -y net-tools

root@2e7d55ea6f88:~# netstat 
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 2e7d55ea6f88:38472      banjo.canonical.com:80  TIME_WAIT  
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node   Path


  • 패키지 매니저로 설치가 불가능한 경우 아래 링크를 통해 직접 파일로 다운 받아 설치를 합니다.
 

Linux libarary 파일 다운로드

리눅스 환경에서 yum 또는 apt-get과 같은 패키지 관리자로 패키지를 다운 받지 못할 때 파일로 준비해야 합니다. Repository CentOS Index of /centos mirror.navercorp.com CentOS 버전에 맞게 탐색을 합니다. I..

junsuyoun.tistory.com


 

728x90
반응형

'Operation System > Unix & Linux' 카테고리의 다른 글

ssh: command not found  (0) 2022.09.25
ifconfig: command not found  (0) 2022.09.25
sshd: command not found  (0) 2022.09.25
telnet 설치  (0) 2022.09.25
Visual Studio Code 웹에서 사용하기 (code-server)  (0) 2022.09.24

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.