Home » LPI » 117-201 » Which of the following environment variables determines your working directory at the completion of a successful login?
Which of the following environment variables determines your working directory at the completion of a successful login?
A. HOME
B. BASH_ENV
C. PWD
D. BLENDERDIR
Correct Answer: A
Explanation/Reference:
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.
Download Printable PDF. VALID exam to help you PASS.
|
|