我知道这是一个简单的问题,但是如何在Ubuntu中切换到netcat-traditional?每当我写netcat -h,看来我正在运行netcat-openbsd?我是Ubuntu的新手,所以确切的命令将是有帮助的。谢谢
>使用突触安装其他netcat。 (为此,必须启用Universe存储库。)
>键入sudo update-alternatives –config nc
>选择选项/bin/nc.traditional
>键入nc -h
>键入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!!] ...