» Linux » Examen sur Linux » Examen 201 : Advanced Administration » Section 3 » Question 14/20
14.Which of the following environment variables determines your working directory at the completion of a successful login?

HOME
BASH_ENV
PWD
BLENDERDIR

Explanation: The HOME environment variable determines your working directory when you log on. This is typically /home/<username> for a normal user account or the root directory (/) for the root user. The HOME environment variable also determines the directory you will be taken to if you enter the 'cd' command with no arguments.

Reference: http://www.isu.edu/departments/comcom/unix/workshop/environment.html

Incorrect Answers
B: The BASH_ENV variable is used for non-interactive shells. It does not determine your working directory when you log on.
C: The PWD variable contains the current working directory. It does not determine your working directory when you log on. The 'pwd' command is used to display the full path to your current directory.
D: The BLENDERDIR variable is used with a piece of software named 'Blender'. It does not determine your working directory when you log on.

« Question 13 Question 15 »