HACKER Q&A
📣 mardiyah

What is literal /root directory on Linux


So sorry I'm oblivion the exuistence of this "/root"

so what actually is "/root" directory on (my Arch) Linux all about ?


  👤 pwg Accepted Answer ✓
On most Linux distributions it is the home directory of the superuser (the one also named "root" in most instances).

The reason given for why it is in / instead of /home/ is so the root user has a home directory even when /home/ is a separate (but unmounted) partition or a NFS mount.