-
/.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区别
猜你喜欢
转载自blog.csdn.net/The_Time_Runner/article/details/107290357
今日推荐
周排行