Linux "namei" Command Line Options and Examples
follow a pathname until a terminal point is found

namei interprets its arguments as pathnames to any type of Unix file (symlinks, files, directories, and so forth). namei then fol‐ lows each pathname until an endpoint is found (a file, a directory, a device node, etc). If it finds a symbolic link, it shows the link, and starts following it, indenting the output to show the context.


namei [options] pathname...

Command Line Options:

Use the long listing format (same as -m -o -v).
namei -l ...
Show the mode bits of each file type in the style of ls(1), for example 'rwxr-xr-x'.
namei -m ...
Don't follow symlinks.
namei -n ...
Show owner and group name of each file.
namei -o ...
Vertically align the modes and owners.
namei -v ...
Show mountpoint directories with a 'D' rather than a 'd'.
namei -x ...
Display version information and exit.
namei -V ...
Display help text and exit.AUTHORThe original namei program was written by Roger Southwick <>.The program was rewritten by Karel Zak <>.BUGSTo be discovered.
namei -h ...