LPI
010-100 · Question #30
010-100 Question #30: Real Exam Question with Answer & Explanation
The correct answer is C. /root. In Linux, the root user's home directory is '/root', a dedicated directory separate from the '/home' directory used by regular users.
Question
Which of the following is the home folder for the root user?
Options
- A/user/root
- B/
- C/root
- D/home/root
Explanation
In Linux, the root user's home directory is '/root', a dedicated directory separate from the '/home' directory used by regular users.
Common mistakes.
- A. '/user/root' is not a valid standard Linux path; no such directory exists by default in any Linux filesystem hierarchy.
- B. '/' is the root of the entire filesystem, not a home directory for any user account.
- D. '/home/root' follows the convention for regular user home directories but is not the actual home directory for the root user in standard Linux distributions.
Concept tested. Linux root user home directory location
Reference. https://www.pathname.com/fhs/pub/fhs-2.3.html#ROOTHOMEDIR
Community Discussion
No community discussion yet for this question.