Linux lrzsz工具介绍

lrzsz工具是可以实现在SecureCRT中快速向linux服务器快速上传和下载文件,

安装方法

1、 REDHAT下可以通过yum进行安装

root@MyVPS download]# yum list | grep lrzsz
lrzsz.i386                               0.12.20-22.1                  base
[root@MyVPS download]# yum install lrzsz

2、 其它操作系统下可通过编译源码方式进行安装

[root@MyVPS download]# wget http://ohse.de/uwe/releases/lrzsz-0.12.20.tar.gzlrzsz.i386                            
[root@MyVPS download]# tar -zxvf lrzsz-0.12.20.tar.gz
[root@MyVPS download]# cd lrzsz-0.12.20
[root@MyVPS download]# ./configure --prefix=/usr/local/lrzsz
[root@MyVPS download]# make
[root@MyVPS download]# make install
[root@MyVPS download]# cd /usr/bin
[root@MyVPS download]# ln -s /usr/local/lrzsz/bin/lrz rz  
[root@MyVPS download]# ln -s /usr/local/lrzsz/bin/lsz sz

使用方法

1、 上传

[root@MyVPS download]# rz

回车后即可弹出选择文件对话框,选择好文件后点“添加”,然后点“确定”即开始上传

image

2、 下载

[root@MyVPS download]# sz temp.gz

回车即开始下载temp.gz文件,默认下载目录在SecureCRT的会话选项中配置

image

原文地址:https://www.cnblogs.com/zhangbo2012/p/3592613.html