全局的是在/etc目录下(/etc/profile)
用户个人的是在用户的家目录下(~/.profile)

查看:

全局:cat /etc/profile

linux .bash_profile在哪里

 

 

个人:cat ~/.bash_profile

linux .bash_profile在哪里

 

 

编辑:

全局:vi /etc/profile

个人:vi ~/.bash_profile

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2021-10-03
  • 2021-12-01
  • 2021-07-12
  • 2021-07-02
猜你喜欢
  • 2021-10-26
  • 2021-11-06
  • 2021-09-21
  • 2021-08-29
  • 2021-06-18
  • 2022-12-23
  • 2021-10-19
相关资源
相似解决方案