在太阳下
不管你喜不喜欢,高不高兴,爱与不爱;太阳照旧照耀着你!温暖着你!

安装SSH上下传工具lrzsz

安装SSH上下传工具lrzsz
TIME 2020-03-07 08:08

运行安装lrzsz命令
yum install lrzsz

返回结果

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: repos.lax.quadranet.com
* elrepo-kernel: repos.lax-noc.com
* extras: mirror.hostduplex.com
* updates: mirror.fileplanet.com
Resolving Dependencies
–> Running transaction check
—> Package lrzsz.x86_64 0:0.12.20-36.el7 will be installed
–> Finished Dependency ResolutionDependencies Resolved=====================================================================================
Package Arch Version Repository Size
=====================================================================================
Installing:
lrzsz x86_64 0.12.20-36.el7 base 78 kTransaction Summary
=====================================================================================
Install 1 PackageTotal download size: 78 k
Installed size: 181 k
Is this ok [y/d/N]: y  #这里回复y
Downloading packages:
lrzsz-0.12.20-36.el7.x86_64.rpm | 78 kB 00:00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : lrzsz-0.12.20-36.el7.x86_64 1/1
Verifying : lrzsz-0.12.20-36.el7.x86_64 1/1Installed:
lrzsz.x86_64 0:0.12.20-36.el7Complete!
上传文件命令
rz

回车后弹出对话框,选着将要上传的文件,等待上传完毕后

下载使用的命令是
sz

比如还是要下载名为abc的jpg图片
那么命令就是

sz abc.jpg

回车后弹出对话框,选择要存放的位置,保存,等待下载完毕即可。

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址