Linux系统下的文件传输工具:RZSZ的用法
根据自己的需求选择make参数,一般选posix就可以 [root@localhost src]# make posix cc -O -DPOSIX -DMD=2 rz.c -o rz size rz text data bss dec hex filename 31339 1088 10640 43067 a83b rz rm -f rb rx rc ln rz rb ln rz rx ln rz rc cc -O -DPOSIX sz.c -o sz size sz text data bss dec hex filename 37316 1224 43344 81884 13fdc sz rm -f sb sx zcommand zcommandi ln sz sb ln sz sx ln sz zcommand ===============》提示安装成功 ln sz zcommandi [root@localhost src]# cp rz sz /usr/bin/ 复制到/usr/bin下方便使用 [root@localhost src]# rz 上传本地文件到linux系统下 rz ready. Type "sz file ..." to your modem program 提示如下图片: Starting zmodem transfer. Press Ctrl+C to cancel. Transferring 1.txt... Transferring 1.txt... ?rz 3.48 01-27-98 finished. **** UNREGISTERED COPY ***** Please read the License Agreement in rz.doc 提醒:如果Upload files as ASCII打√的话,你上传的文件的MD5值会有问题,那么应用文件也就不能运行. [root@localhost ~]# ll 总计 56 -rw-r--r-- 1 root root 0 01-06 16:07 1.txt -rw------- 1 root root 894 12-02 19:22 anaconda-ks.cfg -rw-r--r-- 1 root root 1585 12-02 19:22 init.sh -rw-r--r-- 1 root root 20758 12-02 19:22 install.log -rw-r--r-- 1 root root 3497 12-02 19:22 install.log.syslog drwxr-xr-x 3 root root 4096 01-07 21:53 soft URL:http://www.bianceng.cn/OS/Linux/201410/45759.htm (编辑:佛山站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |