单项选择题Which of the following is a correct statement about how the user environment is configured at login?()
A. If present, the settings in the $HOME/.profile file will override the settings in the /etc/profile file.
B. If both $HOME/.profile and $HOME/.env files are present, the settings in the $HOME/.profile file will take precedence.
C. The settings in the /etc/environment file are system-wide and will override user customized settings in the $HOME/.profile.
D. The settings in the /etc/profile file will override settings in the $HOME/.profile file unless the $LOCAL_PROFILE variable is set to 'true'.