It is read as part of interactive non-login shell and hence to directly referenced
Read from the BIBLE :)
https://learning.lpi.org/en/learning-materials/102-500/105/105.1/105.1_01/
When Bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior.
When an interactive login shell exits, or a non-interactive login shell executes the exit builtin command, Bash reads and executes commands from the file ~/.bash_logout, if it exists.
So the correct Answer is A which read with a bash non-login shell
B (if available) + E are only read in when logging on to the system.
C is an alternative of B and is only read if B is not present.
D is only read at logon if neither B nor C is present.
A is the correct answer!
Book page 299 Harald Maaßen "LPIC-1 Secure for successful Linux certification".
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Lazylinux
Highly Voted 1 month, 3 weeks agoLazylinux
1 month, 2 weeks agoHieuNguyen887
Most Recent 1 year, 1 month agoclaudiodz
1 year, 2 months agoMcLaba
1 year, 1 month agoMaikyCR28
1 week agoJodelo
11 months, 1 week agot33h9ck
1 year, 3 months agosigi63
1 year, 6 months agoismael_1_
1 year, 9 months agolindoswinux
1 year, 9 months agokullstone
1 year, 9 months agogermanb
1 year, 8 months agoyigido
1 year, 9 months ago