Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
namei [options] pathname [pathname . . .]
Follow a pathname until a terminal point is found (e.g., a file, directory, char device, etc.). If namei finds a symbolic link, it shows the link and starts following it, indenting the output to show the context. namei prints an informative message when the maximum number of symbolic links has been exceeded, making it helpful for resolving errors resulting from too many levels of links.
Show mode bits of each file type in the style of ls (e.g., "rwxr-xr-x").
Show mountpoint directories with a D rather than a d.
For each line of output, namei prints the following characters to identify the file types found:
A regular file.
An error of some kind.
A block device.
A character device.
The pathname namei is currently trying to resolve.
A symbolic link (both the link and its contents are output).