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.
1. Software Installation (1) Compile and install
After the root account is logged in, execute the following command in turn:
wget 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 process by default LSZ and Lrz installed in the/usr/local/bin/directory, now we can not directly use, create a soft link below, and named Rz/sz:
Cd/usr/binln-s/usr/local/bin/lrz rzln-s/usr/local/bin/lsz sz
(2) Yum installation
After the root account is logged in, execute the following command:
Yum Install-y Lrzsz
2. Instructions for use
SZ command send file to Local:
RZ command to upload files locally to the server:
RZ filename
After executing the command, select the file you want to upload in the pop-up box.
Description: Open the directories for uploading and downloading under Options, X/y/zmodem, Options, SECURECRT software.
Reprint Address: http://www.lihuai.net/linux/commands/558.html
Installation Rz/sz commands and instructions for use under Linux Systems (reproduced)