xshell利用linux rz sz 命令上传、下载文件

时间:2020-12-17 15:14:46

首先,安装rz sz 命令

root@iZ94d42de1jZ alidata]# yum install lrzsz -y
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package lrzsz.x86_64 0:0.12.20-36.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch             Version                  Repository      Size
================================================================================
Installing:
 lrzsz           x86_64           0.12.20-36.el7           base            78 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 78 k
Installed size: 181 k
Downloading packages:
lrzsz-0.12.20-36.el7.x86_64.rpm                            |  78 kB   00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : lrzsz-0.12.20-36.el7.x86_64                                  1/1
  Verifying  : lrzsz-0.12.20-36.el7.x86_64                                  1/1

Installed:
  lrzsz.x86_64 0:0.12.20-36.el7                                                 

Complete!


上传命令rz  rz中的r意为received(接收)

依照服务器为主体,接受文件就是客户端上传文件

xshell利用linux rz sz 命令上传、下载文件


下载sz  sz中的s意为send(发送)

依照服务器为主体,发送文件就是客户端下载文件

xshell利用linux rz sz 命令上传、下载文件