问题描述:
在进行xsync集群分发,已经安装rsync的情况下,执行xsync /bin出现指令找不到的错误

问题原因:
自己在用户目录下,编写的/bin文件没有拷贝到系统目录的bin下。个人用户的bin,不在path中,拷贝过去后才能过去个人用户的环境变量。
解决方法:
将自己编写的/bin文件拷贝到系统目录的bin下

[xzc@hadoop102 bin]$ sudo cp xsync /bin


结果:

bash: xsync: command not found的解决方法相关推荐

  1. 提示-bash: telnet: command not found的解决方法

    提示-bash: telnet: command not found的解决方法 参考文章: (1)提示-bash: telnet: command not found的解决方法 (2)https:// ...

  2. -bash: shasum: command not found的解决方法

    [现象] [root@VM-8-9-centos software]# shasum -a 512 -c elasticsearch-7.8.0-x86_64.rpm.sha512  -bash: s ...

  3. 学习Docker容器时,错误bash: ping: command not found的解决方法

    问题描述: 学习Docker容器时,在容器内进行ping时出现错误,提示如下:bash: ping: command not found 解决方法: 直接安装即可,命令如下:apt-get insta ...

  4. linux的7za无法使用,提示命令找不到:-bash 7za command not found的解决方法.doc

    CentOS7系统突然之间7z命令提示:-bash 7za command not found. 包括很多共它命令均提示:-bash: ***: command not found,如下图: 这应该是 ...

  5. linux telnet: command not found,提示-bash: telnet: command not found的解决方法

    Linux centos 运行telnet命令,出现下面的错误提示: [root@localhost ~]# telnet 127.0.0.1 -bash: telnet: command not f ...

  6. 关于使用mail命令产生:-bash: mail: command not found的解决方法

    近日,配置zabbix邮件告警的时候,安装好了sendmail后,运行命令: [root@slave ~] # mail -s "test" 111111@qq.com < ...

  7. bash: mail: command not found的解决方法

    From: http://hxl2009.blog.51cto.com/779549/884569 近日,安装了一个最小化的centos 6.2 64bit,系统中显示有root用户的mail,想用m ...

  8. bash: Is :command not found的解决方法和思考总结

    写在开头:这次学习总结很离谱,哈哈哈哈我也没想到又有眼拙的一天. 正如题目所写Is(大写i)command not found 的解决方法就是输入正确的 ls(小写L) 事情是这样的:那是我第一次在L ...

  9. Linux | 终端显示为bash-4.1$以及提示bash:command not found的解决方法

    本文总结如何解决 Linux 终端显示为 bash-4.1 1 以及提示 bash: command not found 情形 2 ' 3 的解决方法. Updated: 2022 / 7 / 18 ...

最新文章

  1. HALCON识别数字ID
  2. java的知识点17——java.util.Arrays类、多维数组
  3. centos7 卸载Qt5
  4. 堂妹问的一道暑假作业题,难住985的家长
  5. Bad Hair Day(POJ-3250)
  6. df命令--Linux命令应用大词典729个命令解读
  7. SendMessage 函数
  8. 内容管理项目小结 成功案例-公司官网,游戏官网
  9. 如何查看mysql 的端口号?
  10. 网易公开课专辑下载脚本python
  11. iOS App 调用QQ客户端,发起临时会话
  12. java将html转为word文档,java html转换为word文档
  13. ThoughtWorks面试篇
  14. 自然语言处理领域国内外著名会议和期刊
  15. Oracle 12c CDB和PDB的切换
  16. YOLOV5 网络模块解析
  17. 艾艾贴Mysql主从同步
  18. VUCA时代下,创业团队如何提升整体效率?
  19. [递推] 51Nod1383 整数分解为2的幂
  20. 如何安装VCC++6.0并创建第一个项目

热门文章

  1. 【 MATLAB 】MATLAB 实现模拟信号采样后的重建(三)应用三次样条函数spline实现内插
  2. putty/xshell/Secure CRT远程工具详解
  3. 移动web开发---第二天
  4. Git总是有没法重置的二进制相同的修改?不用怕!
  5. 继续说说美国互联网版权监管法案(SOPA)
  6. 艾伟_转载:.NET设计模式:观察者模式(Observer Pattern)
  7. 模仿github网页前端HTML,仿github404页面特效
  8. Linux下如何测试及使用USB转串口线
  9. 华为机试第10题python
  10. MySQL自带工具使用介绍