man-pages/man1/namei.1.html
2021-03-31 01:06:50 +01:00

150 lines
3.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of NAMEI</TITLE>
</HEAD><BODY>
<H1>NAMEI</H1>
Section: User Commands (1)<BR>Updated: June 2011<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
namei - follow a pathname until a terminal point is found
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>namei</B>
[options]
<I>pathname</I>...
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>namei</B>
interprets its arguments as pathnames to any type
of Unix file (symlinks, files, directories, and so forth).
<B>namei</B>
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.
<P>
This program is useful for finding &quot;too many levels of
symbolic links&quot; problems.
<P>
For each line of output,
<B>namei</B>
uses the following characters to identify the file type found:
<P>
<PRE>
f: = the pathname currently being resolved
d = directory
l = symbolic link (both the link and its contents are output)
s = socket
b = block device
c = character device
p = FIFO (named pipe)
- = regular file
? = an error of some kind
</PRE>
<P>
<B>namei</B>
prints an informative message when
the maximum number of symbolic links this system can have has been exceeded.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-l</B>,<B> --long</B>
<DD>
Use the long listing format (same as <B>-m -o -v</B>).
<DT id="2"><B>-m</B>,<B> --modes</B>
<DD>
Show the mode bits of each file type in the style of <A HREF="/cgi-bin/man/man2html?1+ls">ls</A>(1),
for example 'rwxr-xr-x'.
<DT id="3"><B>-n</B>,<B> --nosymlinks</B>
<DD>
Don't follow symlinks.
<DT id="4"><B>-o</B>,<B> --owners</B>
<DD>
Show owner and group name of each file.
<DT id="5"><B>-v</B>,<B> --vertical</B>
<DD>
Vertically align the modes and owners.
<DT id="6"><B>-x</B>,<B> --mountpoints</B>
<DD>
Show mountpoint directories with a 'D' rather than a 'd'.
<DT id="7"><B>-V</B>,<B> --version</B>
<DD>
Display version information and exit.
<DT id="8"><B>-h</B>,<B> --help</B>
<DD>
Display help text and exit.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHOR</H2>
The original
<B>namei</B>
program was written by Roger Southwick &lt;<A HREF="mailto:rogers@amadeus.wr.tek.com">rogers@amadeus.wr.tek.com</A>&gt;.
<P>
The program was rewritten by Karel Zak &lt;<A HREF="mailto:kzak@redhat.com">kzak@redhat.com</A>&gt;.
<A NAME="lbAG">&nbsp;</A>
<H2>BUGS</H2>
To be discovered.
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+ls">ls</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+stat">stat</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?7+symlink">symlink</A></B>(7)
<A NAME="lbAI">&nbsp;</A>
<H2>AVAILABILITY</H2>
The namei command is part of the util-linux package and is available from
<A HREF="https://www.kernel.org/pub/linux/utils/util-linux/.">https://www.kernel.org/pub/linux/utils/util-linux/.</A>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
<DT id="10"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="11"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="12"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="13"><A HREF="#lbAF">AUTHOR</A><DD>
<DT id="14"><A HREF="#lbAG">BUGS</A><DD>
<DT id="15"><A HREF="#lbAH">SEE ALSO</A><DD>
<DT id="16"><A HREF="#lbAI">AVAILABILITY</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:19 GMT, March 31, 2021
</BODY>
</HTML>