Snow Leopard 上 .profile 和 .bash_profile 的区别 [英] Difference between .profile and .bash_profile on Snow Leopard
本文介绍了Snow Leopard 上 .profile 和 .bash_profile 的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将在我的计算机上设置 mySQl 的路径(我正在运行 Snow Leopard),但我在网上看到不同的说明.
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屋!
查看全文