Installation of RZ/SZ commands and instructions for use under Linux systems
For people who frequently use Linux systems, the RZ/SZ command is a convenient means of uploading local files to the server or downloading files from the server, but many Linux systems do not initially have these two commands. Today, we will briefly explain how to install and use RZ, sz command.
First, the software installs 1, compiles installs (method one)
This method must ensure that the machine can be connected to the Internet, using the root account to log into the system, then execute the following command:
CD/Tmpwget http://www.ohse.de/uwe/releases/lrzsz-0.12.20. Tar.gztar zxvf lrzsz-0.12.20.tar.gz && CD lrzsz-0.12.20. /configure && make make install
The above installation defaults to install the LSZ and lrz into the/usr/local/bin/directory, now we are not able to directly use, create a soft connection below, and named Rz/sz
cd/usr/bin -s/usr/local/bin/-s/usr/local/bin/lsz sz
2. Yum installation (method two)
This installation method must help you have a Yum source on your machine to install, log into the system using the root user, and execute the following command:
Yum Install-y Lrzsz
Ii. Description of Use
The SZ command is to send a file to a local
# sz test.txt
The RZ command uploads the local file to the server
# RZ
Installation of RZ/SZ commands and instructions for use under Linux systems