Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the rz/sz command in ubuntu

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to use the rz/sz command in ubuntu. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Under 1 "ubuntu system, the rz/sz command is installed as follows:

Apt-get install lrzsz

2 "instructions for use

The sz command sends files locally:

# sz filename

The rz command uploads files locally to the server

# rz

After executing the command, select the file to upload in the pop-up box.

Sz command

Usage description: the sz command uses the ZModem protocol to transfer files from the Linux server to the local, and one or more files can be transferred at a time. To upload files locally to the Linux server, you can use the rz command.

Common parameters

-an is transmitted by text (ascii).

-b is transmitted in binary mode (binary).

-e escapes control characters (escape), which ensures that the file is transferred correctly.

If you can be sure that the transferred file is in text format, use sz-a files

If it is a binary file, use sz-be files

Rz command

-b is binary and defaults to text.

-e escapes all control characters.

If you want to ensure that the content of the uploaded file is consistent with the original file after it is saved on the server side, it is best to set these two flags at the same time, and use them as follows:

Rz-be

When this command is executed, a file selection dialog box will pop up. After selecting the files to be uploaded, click OK, and you can start the upload process. The speed of upload depends on the condition of the network at that time.

Thank you for reading! This is the end of the article on "how to use rz/sz commands in ubuntu". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report