Basic Usage Netcat Nmap

linux tutorial bigdba

Netcat has become one of the indispensable tools of system administrators, network administrators and even programmers because it does its job both very simple and very efficient. It is one of the best representatives of the Unix philosophy as well, with its under-defined job well done.

Install Netcat Package

yum install -y nc

Check if the netcat package has been successfully installed.

rpm -qa | grep -i nmap-ncat

You can quickly verify the functionality of the command by checking port 443 as shown below.

nc -vz 443
Connection to 443 port [tcp/https] succeeded!

-v: Adjust the level of detail can be used several times

z: Zero I / O mode, only report the connection status

Usage of Nmap Listener


nc -l 8080(Port)


nc ipaddr 8080(Port)

Rpm List

Great have a nice day.