When bash is invoked as an interactive login shell, which of the following sentences is true?

When bash is invoked as an interactive login shell, which of the following sentences is true?
A. It first reads and executes commands in /etc/profile and then does the same for ~/.bash_profile and ~/.bashrc.
B. It first reads and executes commands in /etc/bashrc and then does the same for etc/profile.
C. It reads and executes commands in ~/.bashrc only if /etc/profile or another initialization script calls it.
D. It ignores /etc/profile and only reads and executes commands in ~/.bashrc.
E. It first reads and executes commands in /etc/profile and then does the same for ~/.bash_profile, ~/.bashrc and ~/.profile.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.