우분투 netcat 설치

Jmnote (토론 | 기여)님의 2020년 10월 3일 (토) 17:21 판
  다른 뜻에 대해서는 CentOS nc 설치 문서를 참조하십시오.

1 개요

우분투 netcat 설치
apt install netcat
apt-get update
apt-get install netcat
# nc -vz 8.8.8.8 53
bash: nc: command not found
# apt install netcat
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  netcat-traditional
The following NEW packages will be installed:
  netcat netcat-traditional
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 76.0 kB of archives.
After this operation, 173 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 netcat-traditional amd64 1.10-41+b1 [67.0 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 netcat all 1.10-41 [8962 B]
Fetched 76.0 kB in 0s (121 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package netcat-traditional.
(Reading database ... 14278 files and directories currently installed.)
Preparing to unpack .../netcat-traditional_1.10-41+b1_amd64.deb ...
Unpacking netcat-traditional (1.10-41+b1) ...............................................] 
Selecting previously unselected package netcat...........................................] 
Preparing to unpack .../netcat_1.10-41_all.deb ...
Unpacking netcat (1.10-41) ...#############..............................................] 
Setting up netcat-traditional (1.10-41+b1) ...##########.................................] 
update-alternatives: using /bin/nc.traditional to provide /bin/nc (nc) in auto mode......] 
update-alternatives: warning: skip creation of /usr/share/man/man1/nc.1.gz because associated file /usr/share/man/man1/nc.traditional.1.gz (of link group nc) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/netcat.1.gz because associated file /usr/share/man/man1/nc.traditional.1.gz (of link group nc) doesn't exist
Setting up netcat (1.10-41) ...######################################....................]
# nc -vz 8.8.8.8 53
google-public-dns-a.google.com [8.8.8.8] 53 (?) open

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}