linux:用于配置文件的符号链接

伊夫

我看到一些使用Linux的人在他/home的下面设置了这些符号链接

.bashrc -> .profile
.bashrc_profile -> .profile

我不知道他为什么要像这样设置配置文件。

用户名

.profile由原始的Bourne shell(sh)使用。bash shell通常会忽略.profile文件,并根据您的系统查找.bashrc或.bashrc_profile。通过将所有这些文件链接到.profile,可以确保sh和bash具有相同的配置。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章