QuestionQ112Verified/Essential CommandsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following files, when present, influence the behavior of the Bash shell?Choose twoA~/.bashconfB~/.bashrcC~/.bashdefaultsD~/.bash_etcE~/.bash_profileShow AnswerAnswerExplanationBash reads ~/.bashrc when it starts an interactive non-login shell. For an interactive login shell, Bash checks ~/.bash_profile, ~/.bash_login, and ~/.profile in that order and reads the first existing, readable file. Thus ~/.bashrc and ~/.bash_profile are recognized Bash startup files.Learn moreBash Startup Files (Bash Reference Manual)Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion