filesystem
/ — Root directory
Starting point for absolute path resolution within the process filesystem view. Other mounted filesystems appear beneath it. Not the root user home. Example is read-only and assumes the path exists; layouts vary.
Formal Syntax & Structure
linux syntaxlinux
/Return Value
filesystem path
The example lists metadata for / itself, including its type and mode, not the contents of the root filesystem. Success does not establish that the current process sees the host root or has access to every descendant.
Working Example
Example Snippetlinux
ls -ld /