单项选择题
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'.
相关考题
-
单项选择题
What command will allow the operator to add the current working directory to the command search path?()
A. export PATH=pwd
B. export PATH=$PWD
C. export PATH=$PATH:pwd
D. export PATH=$PATH:$PWD -
单项选择题
Which of the following commands can be used to show all disks configured on the system?()
A. lsdev -C disk
B. lsdev -P disk
C. lsdev -Cc disk
D. lsdev -Pc disk -
单项选择题
An operator needs to create /dir1/dir2/dir3. The /dir1 does not exist. What command can be used to create dir2 and dir3?()
A. mkdir /dir1/dir2/dir3
B. mkdir -R dir1/dir2/dir3
C. mkdir -p /dir1/dir2/dir3
D. mkdir -r /dir1/dir2/dir3
