1NAMEI(1)                    General Commands Manual                   NAMEI(1)
2
3
4

NAME

6       namei - follow a pathname until a terminal point is found
7

SYNOPSIS

9       namei [options] pathname...
10

DESCRIPTION

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  a  terminal  point  is  found (a file, directory, char
15       device, etc).  If it finds a symbolic link, we show the link, and start
16       following it, indenting the output to show the context.
17
18       This  program  is  useful  for  finding  a "too many levels of symbolic
19       links" problems.
20
21       For each line output, namei outputs a the following characters to iden‐
22       tify the file types found:
23
24          f: = the pathname we are currently trying to resolve
25           d = directory
26           l = symbolic link (both the link and it's 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

OPTIONS

38       -l, --long
39              Use a 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              Vertical align of modes and owners.
53
54       -x, --mountpoints
55              Show mount point directories with a 'D', rather than a 'd'.
56

AUTHOR

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

BUGS

64       To be discovered.
65

SEE ALSO

67       ls(1), stat(1)
68

AVAILABILITY

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)
Impressum