歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> linux rz/sz 命令使用教程

linux rz/sz 命令使用教程

日期:2017/3/2 10:04:49   编辑:關於Linux

我想還有很多人沒有聽說過ZModem協議,更不知道有rz/sz這樣方便的工具。

  好東西不敢獨享。以下給出我知道的一點皮毛。

  下面一段是從SecureCRT的幫助中copy的:

  ZModem is a full-duplex file transfer protocol that supports fast data transfer rates and effective error detection. ZModem is very user friendly, allowing either the sending or receiving party to initiate a file transfer. ZModem supports multiple file (“batch”) transfers, and allows the use of wildcards when specifying filenames. ZModem also supports resuming most prior ZModem file transfer attempts.

  rz,sz是便是Linux/Unix同Windows進行ZModem文件傳輸的命令行工具

  windows端需要支持ZModem的telnet/ssh客戶端,SecureCRT就可以用SecureCRT登陸到Unix/Linux主機(telnet或ssh均可)

  O 運行命令rz,即是接收文件,SecureCRT就會彈出文件選擇對話框,選好文件之後關閉對話框,文件就會上傳到當前目錄

  O 運行命令sz file1 file2就是發文件到windows上(保存的目錄是可以配置) 比ftp命令方便多了,而且服務器不用再開FTP服務了

  PS:Linux上rz/sz這兩個小工具安裝lrzsz-x.x.xx.rpm即可,Unix可用源碼自行 編譯,Solaris spac的可以到sunfreeware下載執行碼

Copyright © Linux教程網 All Rights Reserved