windows文件上传到linux服务器上

https://blog.csdn.net/m0_37751917/article/details/80739850

 

 

1:检查是否安装sz  rz

rpm -qa |grep sz

rpm -qa |grep rz

2:如果没有安装,安装一下

yum install sz

3:如果安装失败,搜索一下

yum search sz

4:根据搜索结果,进行安装

yum -y install lrzsz.x86_64

 5:安装完成。rz一下进行选择文件

[root@S131922 /]# rz

 

完毕! 具体命令及命令及返回结果

 


[root@S131922 /]# rpm -qa |grep  sz


[root@S131922 /]# rpm -qa |grep rz


[root@S131922 /]# yum install sz
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.cn99.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
Setting up Install Process
No package sz available.
Error: Nothing to do

 


[root@S131922 /]# yum search sz
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.cn99.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
==================== N/S Matched: sz ====================
lrzsz.x86_64 : The lrz and lsz modem communications
             : programs

  Name and summary matches only, use "search all" for everything.

 


[root@S131922 /]# yum -y install lrzsz.x86_64
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.cn99.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package lrzsz.x86_64 0:0.12.20-27.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================
 Package  Arch      Version                Repository
                                                    Size
=========================================================
Installing:
 lrzsz    x86_64    0.12.20-27.1.el6       base     71 k

Transaction Summary
=========================================================
Install       1 Package(s)

Total download size: 71 k
Installed size: 159 k
Downloading Packages:
lrzsz-0.12.20-27.1.el6.x86_64.rpm |  71 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : lrzsz-0.12.20-27.1.el6.x86_64         1/1
  Verifying  : lrzsz-0.12.20-27.1.el6.x86_64         1/1

Installed:
  lrzsz.x86_64 0:0.12.20-27.1.el6                        

Complete!
[root@S131922 /]# rz
**B0300c0d200bb60
rz: jdk-8u211-linux-x64.tar.gz removed.                                          [root@S131922 /]#

 

上一篇:Linux基础命令学习笔记03


下一篇:Xshell 上传文件到Ubuntu