摘要:
cattest.txt | nc -l -p 6666或者nc -l-p 6666 < test.txt有些版本不要在 -p【监听6666端口,等待连接】(设发送端IP为10.20.133.152)接收端:nc 10.20.133.152 6666 > test1.txt如上面的操作,即可将文件test.txt从发送端传送到接收端,保存为test1.txt想要连接到某处: nc [-options] hostname port[s] [ports] ...绑定端口等待连接: nc -l -p port [-options] [hostname] [port]语 法:nc [-hln 阅读全文
posted @ 2012-05-04 23:34
langke93
阅读(470)
评论(0)
推荐(0)

浙公网安备 33010602011771号