Linux (10) – Upload and download with RZ and SZ command

Take the CentOS 7 system as an example. Generally, upload and download use third-party tools, but it is not convenient to operate. You have to find the corresponding directory every time to perform upload and download operations. ,kind of hard.

The Linux system, for example, CentOS, can implement convenient file upload and download operations by installing plug-in tools.

The specific operation is installation

lrzsz-0.12.20.tar.gz< /p>

Prerequisite:

The current Linux system must have GCC++ and CC++ installed, otherwise the installation of lrzsz-0.12.20.tar.gz cannot be executed operate.

The specific operations are as follows:

File download or decompression:
After logging in with the root account, execute the following commands in sequence:
File download: wget https://ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz (download the installation package online)
① tar zxvf lrzsz-0.12.20.tar.gz
  cd lrzsz-0.12.20

Compile and install:
./configure
make
make install
The above installation process installs lsz and lrz into the /usr/local/bin/ directory by default. Now we can't use them directly. Create a soft link below and name it rz/sz:
cd /usr/bin
ln -s /usr/local/bin/lrz rz
ln -s /usr/local/bin/lsz sz

share picture

How to use:

share pictureShare Image?

File download or unzip:
After logging in with the root account, execute the following commands in sequence:
File download: wget https://ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz (download the installation package online)
① tar zxvf lrzsz-0.12.20.tar.gz
  cd lrzsz-0.12.20

Compile and install:
./configure
make
make install
The above installation process installs lsz and lrz into the /usr/local/bin/ directory by default. Now we can't use them directly. Create a soft link below and name it rz/sz:
cd /usr/bin
ln -s /usr/local/bin/lrz rz
ln -s /usr/local/bin/lsz sz

share picture

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 5123 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.