Installation of RZ/SZ commands and instructions for use under Linux systems

Source: Internet
Author: User

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

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.