扫码关注官方订阅号
在有的系统里面是有.bashrc文件,有的是有.bash_profile文件,他们貌似都是做一些初始化的工作,这两个文件是有什么区别呢?有优先级的先后吗?
.bashrc
.bash_profile
走同样的路,发现不同的人生
.bash_profile is executed for login shells, while .bashrc is executed for interactive non-login shells.
这篇文章很详细 http://www.joshstaiger.org/archives/2...
请先搜索 http://segmentfault.com/q/10100000001...
请参考,鸟哥的 linux 私,房,菜。
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
.bash_profile is executed for login shells, while .bashrc is executed for interactive non-login shells.
这篇文章很详细 http://www.joshstaiger.org/archives/2...
请先搜索 http://segmentfault.com/q/10100000001...
请参考,鸟哥的 linux 私,房,菜。