It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities. Netcat, or "nc" as the actual program is named, should have been supplied long ago as another one of those cryptic but standard Unix tools.
Install
sudo apt-get install netcat-traditional
sudo update-alternatives --config nc
select
/bin/nc.traditional
by entering "2"nc -h
Update/Upgrade
sudo apt-get update
sudo apt-get dist-upgrade
Reference
Nil
That's all! See you.