linux .bash_profile在哪里

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

查看:

全局:cat /etc/profile

 

 

个人:cat ~/.bash_profile

 

 

编辑:

全局:vi /etc/profile

个人:vi ~/.bash_profile

posted @   peachlf  阅读(17388)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示