如何将windows上的软件包或文件上传到linux服务上,下一句就是如何让将linux的文件下载到win上。哈哈
方法不止这一种,有超多的方法,要是虚拟机,它自带的有share这个选项,你可以点击vw——set——potion——share
还有以前记得有个软件,打开以后可以直接打开win和linux的目录文件,这接拉托就好了。
大部分都是借助一些远程工具软件,putty、xshell、SecureCRT ….我主要说这种方法:
我用的是xshell,首先是要软件连接到你的linux主机,
sz:下载
rz:上传
下面直接代码哈:
提示下面命令找不到的请点击这里
[root@slave-2 ~]# sz-bash: sz: command not found
[root@slave-2 ~]# rz-bash: rz: command not found
[root@slave-2 ~]#
[sztx@localhost 01]# sz-bash: sz: command not found
[sztx@localhost01]# rz-bash: rz: command not found
[sztx@localhost01]#
[sztx@localhost01]# yum search sz
Loaded plugins: fastestmirror
Loading mirror speedsfromcached 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” foreverything.
[sztx@localhost01]# yum install -y lrzsz
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speedsfromcached 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_640.12.20-27.1.el6 base 71k
Transaction Summary=============================================================================================================Install1Package(s)
Total download size:71k
Installed size:159k
Downloading Packages:
lrzsz-0.12.20-27.1.el6.x86_64.rpm | 71 kB 00:00Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : lrzsz-0.12.20-27.1.el6.x86_64 1/1Verifying : lrzsz-0.12.20-27.1.el6.x86_64 1/1Installed:
lrzsz.x86_640:0.12.20-27.1.el6
Complete![sztx@localhost01]#
下面我们来看看上传的过程:当你输入rz命令回车,它会跳出一个谈话框,让你选择文件。
下面就上传成功了,上传到你当前路径下。
下载成功后会下载到win的目录中。

就实现了在xshell上直接在linux机器上上传下载操作。
文章知识点与官方知识档案匹配,可进一步学习相关知识CS入门技能树Linux入门初识Linux25331 人正在系统学习中 相关资源:C语言上机软件VC++6.0中文版安装_学习Visual_C++_6.0编程环境的…
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!