2012年1月27日星期五

.bashrc and .bash_profile - important ones for linux bash


(1) what are they

Both the ~/.bashrc and ~/.bash_profile are scripts that might be executed when bash is invoked. The ~/.bashrc file gets executed when you run bash using an interactive shell that is not a login shell. The ~/.bash_profile only gets executed during a login shellWhat does this all meanTheparagraphs below explains interactive shellslogin shells, .bashrc, .bash_profile and other bashscripts that are executed during login.

没有评论:

发表评论