.bashrc and .bash_profile - important ones for linux bash
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 shell. What does this all mean? Theparagraphs below explains interactive shells, login shells, .bashrc, .bash_profile and other bashscripts that are executed during login.
没有评论:
发表评论