Wednesday, July 27, 2016

How to run Netcat in Linux?

As we know Netcat is network utility tool. We can use this tool in windows operating system.

Follow below steps to run netcat in Linux.



Step: 1 - Download Netcat

Download the Netcat from given url and place that tar.gz file into specific folder.

Step: 2 - Extract tar.gz file

Use tar command for extract tar.gz file.

tar -zxvf Netcat.tar.gz




here tar is command for extract file and -zxvf are command for specific extraction procedure.


Step: 3 - Locate Netcat Extracted file

After extracting tar file we will locate Netcat file for next procedure.

here we had extracted file in same location so we just change the directory with cd command.

cd netcat-0.7.1



Step: 4 - Configure Netcat

Now we are going to configure netcat with configure command 

./configure


this command will configure netcat utility in system.


Step: 5 - Make file

After configuration we will perform make command to make file

make



Step: 5 - Install make file

Now we will install make file to complete netcat installation procedure

make install



Yeaahhhh!!! now netcat is ready to use with nc command.

No comments:

Post a Comment