Root User vs Root Directory
People hear root and think of one thing. On Linux it names two. The root user is the account that may do anything. The root directory is the top folder, written /. The root user even has its own home folder, /root, which sits inside the root directory.
Root User
The boss account on Linux. It can change or delete any file.
The root user is the all-powerful account on a Linux system. It can read, change or delete any file, and run any command. Its user number is 0. Nothing stops root from making a mistake, even a deadly one. So you work as a normal user and borrow root only for one command at a time. Many servers stop root from logging in over the network.
Root Directory (/)
The top folder on Linux, written as /. All other folders sit in it.
The root directory is the top folder of a Linux system. It is written as one slash, /. Every other folder sits inside it, even other disks. So /home, /etc and /var all hang off the root. There is no drive letter like C: on Linux. Do not mix it up with the root user, who is a person, not a folder.
In one line
- Root User
- The boss account on Linux. It can change or delete any file.
- Root Directory (/)
- The top folder on Linux, written as /. All other folders sit in it.