我看到一些使用Linux的人在他/home
的下面设置了这些符号链接:
.bashrc -> .profile
.bashrc_profile -> .profile
我不知道他为什么要像这样设置配置文件。
.profile由原始的Bourne shell(sh)使用。bash shell通常会忽略.profile文件,并根据您的系统查找.bashrc或.bashrc_profile。通过将所有这些文件链接到.profile,可以确保sh和bash具有相同的配置。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句