Play with Netcat in Ubuntu

by
Share this Article: Facebook0Google+0Twitter6LinkedIn0Reddit0StumbleUpon53

Now that you know what netcat is , it is time for some basic operations and real life tasks with the  TCP/IP  swiss army knife.Linux distributions come with netcat already compiled and installed but I will cover how

to install and use netcat in ubuntu. You can choose to install netcat with the ‘apt-get install’ command or compile and install it from source. The second  method is not  as easy as the first one and requires  some basic  knowledge about  linux command line , commands such as tar, make and install. The first method is very easy   to use and friendly for beginners. Open a new terminal window and type ‘sudo apt-get install netcat’ like shown in Figure 1.


Figure 1-Installing netcat

Enter your password and press  enter.

Figure 2
After the installation is done  type ‘nc -h’ like shown in Figure3.

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook0Google+0Twitter6LinkedIn0Reddit0StumbleUpon53