Linux file transfer tool - lrzsz

lrzsz is one can upload and download files between linux and windows environment, with it, you do not need to install separate software ftp file transfer a.

Here we demonstrate Xshell terminal as an example, the test can also use SecureCRT

Installation lrzsz

command:

yum install -y lrzsz

Here Insert Picture Description
Now installation is complete. The following case to understand its use

File upload (windows to linux):

The default file uploaded to the current directory on the server, so first before uploading cdto a file upload directory

  • Method 1: Enter the rzclick Enter to bring up the file selection box, select the upload is completed

Here Insert Picture Description

  • Method 2: drag and drop files into the terminal completes the upload

The transfer is complete as shown below
Here Insert Picture Description
to view the files in the directory linux system, you can upload the file has been successful
Here Insert Picture Description

Download (linux to windows):

command:

sz fileName

For example, we just download upload that picture, enter sz IMG_2745.JPG, and then select the pop-local directory, select the location to download stored click OK OK to complete the download
Here Insert Picture Description
and then view the desktop, you can find images have been downloaded to the desktop
Here Insert Picture Description

Published 17 original articles · won praise 8 · views 6251

Guess you like

Origin blog.csdn.net/qq_41170102/article/details/104532990