nc的使用
比如想在test1上傳文件/etc/mysql-mmm/mmm_common.conf的內(nèi)容到test2的該文件,可以做如下操作
test1#nc -l 6666 </etc/mysql-mmm/mmm_common.conf
test2#nc test1的ip地址 6666 > /etc/mysql-mmm/mmm_common.conf
轉(zhuǎn)載于:https://www.cnblogs.com/seasonsstory/archive/2013/04/15/3022632.html
總結
- 上一篇: [转载]_tmain main wmai
- 下一篇: 第二章 选择符和属性