-
/.bashrc
.bashrc
is executed for interactive non-login shells.When you are already logged into your machine and open a new terminal window then
.bashrc
is executed before the window command prompt..bashrc
is also run when you start a new bash instance by typing /bin/bash in a terminal. -
/.bash_profile
.bash_profile
is executed for login shells. -
References
/.bashrc与/.bash_profile区别
最新推荐文章于 2024-08-02 22:08:04 发布