Shell environment · Question 1 of 12
Which system-wide file does bash read first as a login shell?
1 answer is correct. Easy Created with AI
Show answer
Answer
- B /etc/profile
Explanation
A login shell first reads /etc/profile, then the first existing file of ~/.bash_profile, ~/.bash_login and ~/.profile.