This can be done by checking Let's say remote https port by using nc -vz 443 command as shown below. Now that netcat(nc) is installed in the System, it is time to test this utility. This will show all the installed files path of netcat package. Once it is successfully installed, you can verify the installation path by using dpkg -L netcat. 182228 files and directories currently installed.) Selecting previously unselected package netcat. Get:1 focal/universe amd64 netcat all 1.206-1ubuntu1 The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 177 not upgraded.Īfter this operation, 15.4 kB of additional disk space will be used. The following packages were automatically installed and are no longer required:ĭmeventd libaio1 libdevmapper-event1.02.1 liblvm2cmd2.03 libreadline5 thin-provisioning-tools
DOWNLOAD NETCAT WINDOWS 10 INSTALL
This will install the netcat utility along with all its required dependencies. To install netcat from default Ubuntu repo, you need to use apt-get install netcat command as shown below. Get:10 focal-security/multiverse amd64 DEP-11 Metadata Get:9 focal-security/universe amd64 DEP-11 Metadata Get:8 focal-security/main amd64 DEP-11 Metadata If any of the package needs upgradation, then upgrade it by using apt-get upgrade command.
DOWNLOAD NETCAT WINDOWS 10 HOW TO
How to Install netcat(nc) command on Linux(Ubuntu 18.04 / 20.04)Īlso Read: How to Install GNOME Desktop(GUI) on CentOS 7 Step 1: PrerequisitesĪ) You should have a running Ubuntu 18.04/20.04 Server.ī) You should have sudo or root access to run privileged commands.Ĭ) You should have apt or apt-get utility available in your Server.īefore installing any new package in the System, it is always advisable to check for any latest available updates using apt-get update command as shown below. We will see some more important features in upcoming articles but for now we will the steps to install netcat(nc) utility on Ubuntu 18.04/20.04 based systems in great detail. It provides excellent port scanning and listening capabilities, be it a TCP or UDP traffic.Īlong with this you can also use this utility to transfer a file based on the specific port number.
It is a very handy tool often used by Linux and System Administrators to perform various network related tasks. nc is a free and open source utility to read and write data across networks using UDP or TCP connections.
In this article, I will take you through the steps to install netcat(nc) command on Linux(Ubuntu 18.04 /20.04) in 7 Easy Steps.