centos下nc的安装和使用

安装:yum install nc.x86_64

发送文件:

nc -l port < somefile.xxx

接收文件:

nc -n x.x.x.x port > somefile.xxx

原文地址:https://www.cnblogs.com/mrcoolfuyu/p/9254535.html