五陵年少金市东,银鞍白马渡春风。这篇文章主要讲述Linux报错:bash: rz: command not found相关的知识,希望能为你提供帮助。
报错:bash: rz: command not found?在使用xshell传输文件到linux中时,报了上述错误?
?安装??lrzsz?
?就好了?
yum -y install lrzsz
[root@hr software]# yum -y install lrzsz
Loaded plugins: fastestmirror
base| 3.6 kB00:00:00
extras| 2.9 kB00:00:00
updates| 2.9 kB00:00:00
(1/4): base/7/x86_64/group_gz| 153 kB00:00:00
(2/4): extras/7/x86_64/primary_db| 246 kB00:00:00
(3/4): updates/7/x86_64/primary_db|14 MB00:00:02
(4/4): base/7/x86_64/primary_db| 6.1 MB00:00:27
Determining fastest mirrors
* base: mirrors.cn99.com
* extras: mirrors.cn99.com
* updates: mirrors.neusoft.edu.cn
Resolving Dependencies
--> Running transaction check
---> Package lrzsz.x86_64 0:0.12.20-36.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================================================================================================================================================
PackageArchVersionRepositorySize
=================================================================================================================================================================================================================
Installing:
lrzszx86_640.12.20-36.el7base78 k
Transaction Summary
=================================================================================================================================================================================================================
Install1 Package
Total download size: 78 k
Installed size: 181 k
Downloading packages:
warning: /var/cache/yum/x86_64/7/base/packages/lrzsz-0.12.20-36.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for lrzsz-0.12.20-36.el7.x86_64.rpm is not installed
lrzsz-0.12.20-36.el7.x86_64.rpm|78 kB00:00:00
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
Userid: "CentOS-7 Key (CentOS 7 Official Signing Key) < security@centos.org> "
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package: centos-release-7-4.1708.el7.centos.x86_64 (@anaconda)
From: /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : lrzsz-0.12.20-36.el7.x86_641/1
Verifying: lrzsz-0.12.20-36.el7.x86_641/1
Installed:
lrzsz.x86_64 0:0.12.20-36.el7
Complete!
【Linux报错(bash: rz: command not found)】?注意传输时必须使用root用户,否则会报错?
推荐阅读
- Linux硬件资源管理
- Linux小技巧之终端窗口screen
- Linux下万能巡检脚本 获取远程主机内存 cpu磁盘等信息
- CentOS 结束支持了新BP发行版又出现了AlmaLinux
- 为什么我的Linux ls命令不能用了()
- [Linux用户空间编程-5](用IPTable实现NAT功能)
- 读书分享《树莓派开始,玩转Linux》读书分享
- [Linux用户空间编程-4](Linux虚拟网络设备TUN/TAP的工作原理与代码示例)
- Linux(shell)遍历目录删除指定文件,解决文件夹名称带空格问题