For people who often use the Linux system, the need to upload local files to the server or download files from the server to the local, the Rz/sz command is very convenient to help us achieve this function, but many Linux systems initially do not have these two commands, So simply 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:
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 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
Download
SZ filename
Overwrite Downloads
sz-y filename
Upload
Rz
Overwrite uploads
Rz-y
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.
Tools RZ and SZ that can replace FTP on Linux