Home > Operation and Maintenance > Linux Operation and Maintenance > What is the upload file command in linux

What is the upload file command in linux

王林
Release: 2022-01-12 15:31:14
Original
37531 people have browsed it

The upload file command in Linux is rz. How to install rz: 1. Download and decompress the installation package; 2. Enter the decompressed directory; 3. Configure the installation path; 4. Execute the [make && make install] command to install.

What is the upload file command in linux

lrzsz-0.12.20.tar.gz is a third-party tool that supports uploading and downloading on the command line interface under Linux. It can be very convenient. role.

(Recommended tutorial: php video tutorial)

# rz   

选择文件进行上传

# sz 文件名

sz后面跟文件名可以进行文件从linux上面下载。
Copy after login

First, check whether rz is installed in the virtual machine.

Installation:

Official website download:

Official website download address:

http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
Copy after login

After downloading, you can transfer the file through xftp for installation.

2.yum source installation

yum install -y lrzsz  // yum 安装完毕之后可以直接rz尝试使用
Copy after login

2.Command line installation

wget download lrzsz installation package

wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
Copy after login

Note: Enter wget, if the prompt is not found command, you need yum install wget to install wget command

Extract the installation package

tar zxvf lrzsz-0.12.20.tar.gz
Copy after login

Enter the decompressed directory

cd lrzsz-0.12.20
Copy after login

Configure the installation path

./configure
Copy after login

Enter After the command, an error is reported, proving that gcc is missing in the virtual machine. First install gcc: yum install gcc, and then run ./configure and it will be successful.

Compile & Install

make && make install
Copy after login

Create soft link

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

Enter the /usr/local/bin/ directory: cd /usr/local/bin

1) Create a soft link to rz and name it rz

2) Create a soft link to sz , and name it sz

What is the upload file command in linux

Note: Soft links are similar to shortcuts under Windows systems. After being deleted, the original files will not be affected; while after hard links are deleted, the original files will not be affected. will also be deleted.

4. Check whether the installation is successful

In the xshell command line, enter rz and press Enter. If the upload file selection box pops up, it means that rz is installed successfully and files can be uploaded.

Related recommendations: php training

The above is the detailed content of What is the upload file command in linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template