微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

《如何将windows上的软件包或文件上传到linux服务上》

 

如何将windows上的软件包或文件上传到linux服务上,下一句就是如何让将linux的文件下载到win上。哈哈

 方法不止这一种,有超多的方法,要是虚拟机,它自带的有share这个选项,你可以点击vw——set——potion——share

还有以前记得有个软件,打开以后可以直接打开win和linux的目录文件,这接拉托就好了。

大部分都是借助一些远程工具软件,putty、xshell、SecureCRT ....我主要说这种方法

我用的是xshell,首先是要软件连接到你的linux主机,

sz:下载

rz:上传

下面直接代码哈:

提示下面命令找不到的请点击这里

[[email protected]2 ~]# sz
-bash: sz: command not found
[[email protected]-2 ~]# rz
-bash: rz: command not found
[[email protected]-2 ~]# 

 

 

[[email protected] 01]# sz
-bash: sz: command not found
[[email protected] 01]# rz
-bash: rz: command not found
[[email protected] 01]#

[[email protected] 01]# yum search sz
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.01link.hk
 * epel: ftp.riken.jp
 * extras: centos.01link.hk
 * updates: centos.01link.hk
============================================== N/S Matched: sz ============================================== lrzsz.x86_64 : The lrz and lsz modem communications programs

  Name and summary matches only,use "search all" for everything.
[[email protected] 01]# yum install -y lrzsz
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.01link.hk
 * epel: mirror.pregi.net
 * extras: centos.01link.hk
 * updates: centos.01link.hk
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!
[[email protected] 01]# 

下面我们来看看上传的过程:当你输入rz命令回车,它会跳出一个谈话框,让你选择文件

分享图片

点中你想要上传文件,点击打开。会出现上传的过程,我的文件可能大点,要是小文件,秒到。

分享图片

下面就上传成功了,上传到你当前路径下。

分享图片

下面来看看下载命令sz的使用。我当前的路径root是家目录,下载那个文件

分享图片

下载成功后会下载到win的目录中。

分享图片

就实现了在xshell上直接在linux机器上上传下载操作。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐