Netcat on Ubuntu¶
Ubuntu seems to ship the "frustrating" version of netcat
/ nc
by default...
For example, it doesn't close when it reads EOF
from stdin, making it difficult to pipe data from A to B.
This is the frustrating version:
$ nc
Cmd line:
Fix it like this:
apt remove netcat-traditional
apt install netcat-openbsd