我知道这是一个简单的问题,但是如何在Ubuntu下切换到netcat-traditional
? 每当我写netcat -h
似乎我正在运行netcat-openbsd
呢? 我是Ubuntu新手,所以确切的命令会有所帮助。 谢谢
使用突触安装其他netcat。 (为此,必须启用Universe存储库。)
键入sudo update-alternatives --config nc
选择/bin/nc.traditional
选项
键入nc -h
输出:
[v1.10-38] connect to somewhere: nc [-options] hostname port[s] [ports] ... listen for inbound: nc -l -p port [-options] [hostname] [port] options: -c shell commands as `-e'; use /bin/sh to exec [dangerous!!] -e filename program to exec after connect [dangerous!!] ...