Wednesday, November 21, 2018

Fixed: bash: nc: command not found

The netcat utility or nc is often referred to as the Swiss Army Knife for working with TCP/IP networks. 

Installing netcat on Ubuntu

If you need to install netcat, you can use the following commands:


$ sudo apt-get update
$ sudo apt-get install netcat



Installing netcat on RHEL - CentOS

To install netcat on a RHEL/CentOS system (64bit), simply issue the following command: 

yum install nc