-linux system Installation Rz/sz command and instructions for use

Source: Internet
Author: User

time: 2013/03/20 | Category: Linux common Commands | Author: Lee bad | Browse: 39,146 | Comments: 5

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:

1 cd /tmp
2 wget http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz
3 tar zxvf lrzsz-0.12.20.tar.gz && cd lrzsz-0.12.20
4 ./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:

1 cd /usr/bin
2 ln -s /usr/local/bin/lrz rz
3 ln -s /usr/local/bin/lsz sz
(2) Yum installation

After the root account is logged in, execute the following command:

1 yum install-y lrzsz
2. Instructions for use

SZ command send file to Local:

1 # sz filename

RZ command to upload files locally to the server:

1 # rz

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.

-linux system Installation Rz/sz command and instructions for use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.