For people who often use Linux systems, it is easy 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.
Today, we will briefly explain how to install and use the RZ, SZ commands.
1. Software Installation
After the root account is logged in, execute the following command:
Cd/tmp
wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
tar zxvf lrzsz-0.12.20.tar.gz && CD lrzsz-0.12.20
./configure && make && make install
The above installation process defaults to LSZ and Lrz installed in the/usr/local/bin/directory, now we can not directly use, the following create a soft link, and named Rz/sz:
Cd/usr/bin
ln-s/usr/local/bin/lrz rz
ln-s/usr/local/bin/lsz sz
2. Instructions for use
SZ command to send file to Local:
# SZ FileName
RZ command to upload files locally to the server:
# RZ
After you execute the command, select the file you want to upload in the pop-up box.
Description: open SECURECRT software-> options-> session options-> X/y/zmodem can set up the upload and download directory.
The above Linux system installation RZ/SZ command and use instructions (detailed) is a small series to share all the content, hope to give you a reference, but also hope that we support the cloud-dwelling community.