• 使用xshell5 从CentOS主机download资料


    需要安装一个软件,步骤如下:

    第一步,找出软件的完整名称;

    第二步,安装该软件;

    第三步,执行sz命令。

    参考下面的执行过程

    [root@mylinux ~]# yum provides lrzsz*
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    lrzsz-0.12.20-27.1.el6.x86_64 : The lrz and lsz modem communications programs
    Repo        : base
    Matched from:
    Other       : lrzsz(x86-64) = 0.12.20-27.1.el6
    Other       : lrzsz = 0.12.20-27.1.el6
    
    
    
    [root@mylinux ~]# yum install lrzsz-0.12.20-27.1.el6.x86_64
    Loaded plugins: fastestmirror
    Setting up Install Process
    Loading mirror speeds from cached hostfile
    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
    Is this ok [y/N]: y
    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@mylinux ~]#
    [root@mylinux ~]# sz /opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.3.jar

    最后使用sz命令加上需要下载的文件即可,xshell5会提示如下:

    1

    直接保存即可。

  • 相关阅读:
    把C语言的指针按在地上摩擦!
    组合索引相关介绍
    ConcurrentModificationException异常
    chat和varchar的区别?
    二进制部署K8S集群(二十三)addons之安装部署dashboard
    二进制部署K8S集群(二十二)addons之安装部署ingress
    二进制部署K8S集群(二十一)addons之flanneld优化SNAT规则
    二进制部署K8S集群(二十)K8s服务暴露之NodePort型Service
    二进制部署K8S集群(十九)addons之安装部署coredns
    二进制部署K8S集群(十八)addons之flannel三种模型安装部署详解
  • 原文地址:https://www.cnblogs.com/larryzeal/p/6652959.html
Copyright © 2020-2023  润新知