filesystem
/root — Root account home
Conventional home directory of the root account, not the root of the filesystem. Access is usually restricted; inspect only the entry as a normal user. Example is read-only and assumes the path exists; layouts vary.
Formal Syntax & Structure
linux syntaxlinux
/rootReturn Value
filesystem path
A normal user may be able to list the /root directory entry without permission to traverse it. This metadata-only example neither lists private files nor verifies administrator privileges.
Working Example
Example Snippetlinux
ls -ld /root