一、修改/etc/profile 

vi /etc/profile

#set rabbitmq environment

export PATH=$PATH:/usr/local/rabbitmq/sbin

自己把source /etc/profile 也写进去,然后保存


系统立马提示出错,输入命令都提示

linxu 操作问题及解决办法


解决思路,进入 /etc/profile 还原设置


sudo vim /etc/profile

进入,修改 保存

source /etc/profile

相关文章:

  • 2021-09-01
  • 2021-08-28
  • 2021-07-30
  • 2021-11-14
  • 2021-10-28
  • 2021-08-20
  • 2022-12-23
猜你喜欢
  • 2021-09-25
  • 2022-12-23
  • 2021-12-20
  • 2021-12-23
  • 2021-06-29
  • 2022-12-23
相关资源
相似解决方案