The Linux rz and sz command usage detailed

Source: Internet
Author: User

Rz,sz is a command-line tool for Linux/unix Zmodem file transfer with Windows.

The advantage is that there is no need to open a sftp tool to upload the download file.

SZ: Sends the selected file (send) to the local machine

RZ: Running this command pops up a file selection window and uploads it to the Linux server from the local selection file

Install Command:

Yum Install Lrzsz

Sending files from the server to the client:

SZ filename

Uploading files from client to server:

Rz

Select the file in the pop-up box, and the user and group that uploaded the file are the currently logged on user

SECURECRT Set the default path:

Options-> session Options-> Terminal-> xmodem/zmodem->directories

Xshell Set the default path:

Right-click Session-> Property-> ZMODEM-> receive folder

Test:

The Development Board receives files:

1. Access to the directory of the Development Board to receive files

2. Development Board Execution Command # RZ

3. Under Minicom, hold down CTRL + a key and press the Z key

4. Press the S key to select Send File

5. Select Zmodem and confirm with enter key

6. Use a space to select the host to send the file, with the ENTER key to confirm

7. Press any key to return after transmission completes

Development Board to send files:

1. Access to the Development Board directory to send files

2. Access to the host to receive files directory

3. Host Execution Command # RZ

4. Development Board Execution Command # SZ filename

PS: Colleagues and I said securecrt can easily upload the download file, and Xshell did not. I surf the internet to check the original use of the same Sz/rz tool, Xshell under no menu to select the command to be lost.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.