CentOS里上传下载查看命令

因为每次在CentOS中要下载一些配置文件到物理机,和上传一些文件到虚拟机,致使来回的开启ftp软件有点麻烦,这里用两个命令工具,来解决能够随意的上传和下载。 工具

安装软件包: spa

[root@station106 ~]# yum -y install lrzsz
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
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!

 

安装完成后有两个命令能够实现上传下载。 .net

rz上传。sz下载。 debug

相关文章
相关标签/搜索