1 //po4a: entry man manual
4 :man manual: User Commands
5 :man source: util-linux {release-version}
11 namei - follow a pathname until a terminal point is found
15 *namei* [options] _pathname_...
19 *namei* interprets its arguments as pathnames to any type of Unix file (symlinks, files, directories, and so forth). *namei* then follows 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.
21 This program is useful for finding "too many levels of symbolic links" problems.
23 For each line of output, *namei* uses the following characters to identify the file type found:
26 f: = the pathname currently being resolved
28 l = symbolic link (both the link and its contents are output)
34 ? = an error of some kind
37 *namei* prints an informative message when the maximum number of symbolic links this system can have has been exceeded.
42 Use the long listing format (same as *-m -o -v*).
45 Show the mode bits of each file type in the style of *ls*(1), for example 'rwxr-xr-x'.
47 *-n*, *--nosymlinks*::
48 Don't follow symlinks.
51 Show owner and group name of each file.
54 Vertically align the modes and owners.
56 *-x*, *--mountpoints*::
57 Show mountpoint directories with a 'D' rather than a 'd'.
60 Show security context of the file or "?" if not available.
61 The support for security contexts is optional and does not have to be compiled to the *namei* binary.
63 include::man-common/help-version.adoc[]
71 The original *namei* program was written by mailto:rogers@amadeus.wr.tek.com[Roger Southwick].
73 The program was rewritten by Karel Zak mailto:kzak@redhat.com[Karel Zak].
81 include::man-common/bugreports.adoc[]
83 include::man-common/footer.adoc[]
86 include::man-common/translation.adoc[]