Xshell 安装文件上传包

yum :全称为 (Yellow dog Updater, Modified)是一个在Fedora和RedHat以及SUSE中的Shell前端软件包管理器
详细资料:linux yum命令详解

1.查询所有线上插件包
yum provides */rz
访问成功可以看到


[root@iZuf64levv5ruwldqktv6wZ ~]# yum provides */rz
Loaded plugins: fastestmirror
base                                               | 3.6 kB     00:00     
epel                                               | 4.7 kB     00:00     
epel-apache-maven                                  | 2.4 kB     00:00     
extras                                             | 3.4 kB     00:00     
mongodb-org-3.4                                    | 2.5 kB     00:00     
mysql-connectors-community                         | 2.5 kB     00:00     
mysql-tools-community                              | 2.5 kB     00:00     
mysql56-community                                  | 2.5 kB     00:00     
nginx                                              | 2.9 kB     00:00     
updates                                            | 3.4 kB     00:00     
(1/5): epel/x86_64/group_gz                          | 266 kB   00:00     
(2/5): epel/x86_64/updateinfo                        | 866 kB   00:00     
(3/5): extras/7/x86_64/primary_db                    | 145 kB   00:00     
(4/5): updates/7/x86_64/primary_db                   | 5.2 MB   00:00     
(5/5): epel/x86_64/primary_db                        | 6.2 MB   00:00     
Loading mirror speeds from cached hostfile
epel/x86_64/filelists_db                           |  10 MB     00:00     
epel-apache-maven/7/x86_64/filelists_db            | 3.9 kB     00:00     
extras/7/x86_64/filelists_db                       | 528 kB     00:00     
mongodb-org-3.4/7/filelists_db                     | 6.4 kB     00:00     
mysql-connectors-community/x86_64/filelists_db     |  20 kB     00:00     
mysql-tools-community/x86_64/filelists_db          | 108 kB     00:00     
mysql56-community/x86_64/filelists_db              | 596 kB     00:00     
nginx/x86_64/filelists_db                          |  39 kB     00:00     
updates/7/x86_64/filelists_db                      | 3.0 MB     00:00     
lrzsz-0.12.20-36.el7.x86_64 : The lrz and lsz modem communications
                            : programs
Repo        : base
Matched from:
Filename    : /usr/bin/rz

2.安装
yum install -y lrzsz
3.上传文件到当前目录
rz
选择文件-确定
ls 检查是否上传成功
cat filename.suffix 打印

你可能感兴趣的:(Xshell 安装文件上传包)