在接收服务器上执行:(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

 

相关文章:

  • 2021-08-01
  • 2021-12-29
  • 2021-07-02
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-11
  • 2022-01-28
  • 2021-11-02
  • 2022-12-23
  • 2021-04-01
  • 2021-07-15
  • 2021-12-29
相关资源
相似解决方案