linux - 安装了rsync包,执行时还是提示:bash: rsync: command not found

 wangyongjieyexuying677 发布于 2022-10-31 19:03

您好,安装了rsync包.有/etc/profile也配置了环境变量:
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/mysql/bin:/usr/local/memcached/bin:/root/bin:/usr/local/mysql/bin:/usr/local/memcached/bin:/usr/local/rsync/bin
用了:source /etc/profile
在/usr/bin下建立了软连.
再执行:rsync还是提示
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: remote command not found (code 127) at io.c(226) [sender=3.1.2]

1 个回答
  • 你这个应该是远端命令没找到rsync error: remote command not found,rsync执行的时候两端都要有rsync命令。

    2022-11-12 01:49 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有