What is the root directory in Linux?

Why Interviewers Ask This

This question tests conceptual clarity. Interviewers want to hear a precise, confident definition before moving to more complex Linux / Shell Scripting topics. It also reveals how well you can explain technical ideas to non-experts.

Answer

The root directory (/) is the top-level directory in the Linux filesystem hierarchy — all files and directories reside under it. It is not to be confused with root user's home directory which is /root. The Filesystem Hierarchy Standard (FHS) defines the layout: /bin (essential binaries), /etc (configuration files), /var (variable data/logs), /home (user home directories), /tmp (temporary files), /usr (user programs), /proc (virtual process filesystem), /dev (device files).

Common Mistake

Candidates often give textbook answers here. Interviewers are more impressed when you relate the concept to a specific problem you solved in a real Linux / Shell Scripting project.