nc 传输文件
在接收服务器上执行:(123.57.36.227)
[root@86 ~]# cat /tmp/user.txt hello world [root@86 ~]# nc -v -l -p 8080 >/tmp/user.txt
在发送端执行:
[root@NB ~]# echo "运维工匠:cnblogs.com/bass6">user.txt [root@NB ~]# nc -v 123.57.36.227 8080 < user.txt 123.57.36.227 8080 (webcache) open
查看文件内突在接受服务器上:
[root@86 tmp]# cat user.txt 运维工匠:cnblogs.com/bass6
联系方式QQ:326528263 EMAIL:clnking@163.com 网名:bass 分享技术 突破难点 创新思维
浙公网安备 33010602011771号