QuestionQ32Verified/Shells y scriptsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following files is not read directly by a Bash login shell?A~/.bashrcB~/.bash_profileC~/.bash_loginD~/.profileE/etc/profileShow AnswerAnswerExplanationA Bash login shell reads /etc/profile and then the first available user startup file in this order: ~/.bash_profile, ~/.bash_login, or ~/.profile. The ~/.bashrc file is not read directly as part of login-shell initialization, unless one of those startup files explicitly sources it.Show comments11Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion