标签:send ttys0 under strong 数据 style targe 之间 linu
转自:https://superuser.com/questions/604055/using-rz-and-sz-under-linux-shell
zsend
#!/bin/sh DEV=/dev/ttyS0 stty -F $DEV 115200 sz $1 > $DEV < $DEV
zrecv
#!/bin/sh DEV=/dev/ttyS0 stty -F $DEV 115200 rz > $DEV < $DEV
PC1: sudo zsend filename
PC2: sudo zrecv
[sz,rz]使用sz/rz在两台Linux设备之间传输数据
标签:send ttys0 under strong 数据 style targe 之间 linu
原文地址:http://www.cnblogs.com/aaronLinux/p/7646784.html