Snow Leopard上的.profile和.bash_profile之间的区别 [英] Difference between .profile and .bash_profile on Snow Leopard
本文介绍了Snow Leopard上的.profile和.bash_profile之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将在我的计算机上(我正在运行Snow Leopard)设置mySQl的路径,但是我在网上看到了不同的说明.
I am going to set the path for mySQl on my computer (I'm running Snow Leopard) but I see different instructions online.
有人说要更改.profile文件,有人说要更改.bash_profile文件.有什么区别?
Some say to change the .profile file and some say to change the .bash_profile file. What is the difference?
推荐答案
.profile
与sh
或bash
一起使用.但是.bash_profile
是特定于bash的,如果存在,它将覆盖.profile
.
.profile
works with sh
or bash
. However .bash_profile
is bash-specific and will override .profile
if present.
这篇关于Snow Leopard上的.profile和.bash_profile之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文