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

The installation method of uploading Files using rz Command in linux

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

Share

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

What is the installation method of uploading files using the rz command in linux? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!

The command to upload files in linux is rz. The method of installing rz: 1, download and extract the installation package; 2, enter the extracted directory; 3, configure the installation path; 4, execute the [make & & make install] command to install.

Lrzsz-0.12.20.tar.gz is a third-party tool that supports uploading and downloading on the command line interface under linux, which can play a very convenient role.

# rz Select a file to upload # sz file name sz followed by file name can be downloaded from linux.

First, check to see if rz is installed in the virtual machine.

Installation:

Download from the official website:

Download address on the official website:

Http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz

After downloading, you can install it through xftp transfer files.

2.yum source installation

After yum install-y lrzsz / / yum is installed, you can try to use rz directly.

two。 Command line installation

Wget downloads the lrzsz installation package

Wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz

Note: enter wget, and if prompted that the command is not found, yum install wget is required to install the wget command

Extract the installation package

Tar zxvf lrzsz-0.12.20.tar.gz

Enter the decompressed directory

Cd lrzsz-0.12.20

Configure the installation path

. / configure

After entering the command, an error is reported, which proves that gcc is missing in the virtual machine. Install gcc:yum install gcc first, and then. / configure is successful.

Compile & install

Make & & make install

Create a soft link

The above installation process installs lsz and lrz to the / usr/local/bin/ directory by default:

Go to the / usr/local/bin/ directory: cd / usr/local/bin

1) create a soft link for rz and name rz

2) create a soft link for sz and name sz

Note: the soft link is similar to the shortcut in the Windows system, after it is deleted, the original file will not be affected, while after the hard link is deleted, the original file will be deleted.

4. Verify whether the installation is successful

On the xshell command line, enter rz and enter, and the selection box for uploading files will pop up, which means that rz has been successfully installed and can upload files.

Thank you for reading! After reading the above, do you have a general understanding of the installation method of uploading files using the rz command in linux? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.

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