Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

A.

~/.bashconf

B.

~/.bashrc

C.

~/.bashdefaults

D.

~/.bash_etc

E.

~/.bash_profile

題解

當使用者登入(輸入帳號密碼)shell 的時候會執行家目錄的「.bash_profile」。而當使用者開啟 bash shell(不包含 sh)的時候會執行家目錄的「.bashrc」。