1NAMEI(1) General Commands Manual NAMEI(1)
2
3
4
6 namei - follow a pathname until a terminal point is found
7
9 namei [options] pathname...
10
12 namei uses its arguments as pathnames to any type of Unix file (sym‐
13 links, files, directories, and so forth). namei then follows each
14 pathname until an endpoint is found (a file, a directory, a device
15 node, etc). If it finds a symbolic link, it shows the link, and starts
16 following it, indenting the output to show the context.
17
18 This program is useful for finding "too many levels of symbolic links"
19 problems.
20
21 For each line of output, namei uses the following characters to iden‐
22 tify the file type found:
23
24 f: = the pathname currently being resolved
25 d = directory
26 l = symbolic link (both the link and its contents are output)
27 s = socket
28 b = block device
29 c = character device
30 p = FIFO (named pipe)
31 - = regular file
32 ? = an error of some kind
33
34 namei prints an informative message when the maximum number of symbolic
35 links this system can have has been exceeded.
36
38 -l, --long
39 Use the long listing format (same as -m -o -v).
40
41 -m, --modes
42 Show the mode bits of each file type in the style of ls(1), for
43 example 'rwxr-xr-x'.
44
45 -o, --owners
46 Show owner and group name of each file.
47
48 -n, --nosymlinks
49 Don't follow symlinks.
50
51 -v, --vertical
52 Vertically align the modes and owners.
53
54 -x, --mountpoints
55 Show mountpoint directories with a 'D' rather than a 'd'.
56
58 The original namei program was written by Roger Southwick
59 <rogers@amadeus.wr.tek.com>.
60
61 The program was re-written by Karel Zak <kzak@redhat.com>.
62
64 To be discovered.
65
67 ls(1), stat(1)
68
70 The namei command is part of the util-linux-ng package and is available
71 from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
72
73
74
75 Local NAMEI(1)