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.


Usage:

namei [options] pathname...






Command Line Options:

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