rz and sz commands in Linux

http://www.bug315.com/article/517.htm

 

The rz and sz commands of Linux (the commands are in the lrzsz installation package) are command-line tools for ZModem file transfer between Linux/Unix and Windows. The advantage is that there is no need to open another sftp tool to log in to upload and download files, and it is very simple to use.

 

install command lrzsz

On Linux systems such as CentOS or RedHat, you can directly use the yum command to install. as follows:

[snow@work ~]$ yum install lrzsz

 

sz (download file)

This command is used to send files from Linux/Unix side to Windows system. The usage is as follows:

[snow@work ~]$ sz myfile.txt

 

rz and sz commands in Linux

rz (upload file)

This command is used to send files from Windows to Linux/Unix. Running this command will pop up a file selection window, select the file from the local and upload it to the Linux/Unix server. The usage is as follows:

[snow@work ~]$ rz

ended! ! hope to help you

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326198533&siteId=291194637