NAMEI(1)
๐ NAMEI ๐
okay so bestie, welcome to namei โ a lil User Commands baddie from section 1 of the manual, and she is literally here to follow a pathname until a terminal point is found. yes queen. let's go โจ
๐ธ NAME ๐ธ
namei โ follow a pathname until a terminal point is found ๐
๐ฆ SYNOPSIS ๐ฆ
namei [options] pathname...
โจ DESCRIPTION โจ
so namei takes its arguments and treats them as pathnames pointing at any type of Unix file โ symlinks, files, directories, all of it, the whole buffet ๐. then it follows each pathname until an endpoint shows up (a file, a directory, a device node, etc). and if it bumps into a symbolic link? it shows you the link, then starts following it, indenting the output so you can see the context. main character behavior honestly.
this program is useful for finding "too many levels of symbolic links" problems. like when your symlink situation is giving infinite loop energy ๐.
for each line of output, namei uses these characters to identify the file type it found:
f:โ the pathname currently being resolveddโ directorylโ symbolic link (both the link and its contents are output)sโ socketbโ block devicecโ character devicepโ FIFO (named pipe)-โ regular file?โ an error of some kind
and when the maximum number of symbolic links this system can have has been exceeded, namei prints an informative message. she's polite about it ๐ซถ.
๐ OPTIONS ๐
-l,--longโ use the long listing format (same as-m -o -v). the "give me everything" button fr fr ๐-m,--modesโ show the mode bits of each file type in the style ofls(1), for example'rwxr-xr-x'. permission glow-up โจ-n,--nosymlinksโ Don't follow symlinks. boundaries, bestie ๐-o,--ownersโ show owner and group name of each file. who is she ๐-v,--verticalโ vertically align the modes and owners. aesthetic alignment, no cap ๐-x,--mountpointsโ show mountpoint directories with a'D'rather than a'd'. capital D for drama ๐-Z,--contextโ show security context of the file or"?"if not available. > heads up bestie: the support for security contexts is optional and does not have to be compiled to thenameibinary. so if it's not there, it's not you, it's the build ๐-h,--helpโ display help text and exit. the "explain pls" flag ๐-V,--versionโ display version and exit. her little birth certificate ๐
๐ BUGS ๐
To be discovered.
(yeah. that's it. iconic, honestly. she's flawless until proven otherwise โจ)
๐ซถ AUTHORS ๐ซถ
the original namei program was written by Roger Southwick <rogers@amadeus.wr.tek.com>.
the program was rewritten by Karel Zak <kzak@redhat.com>. two icons, one legacy ๐
๐ SEE ALSO ๐
๐ REPORTING BUGS ๐
for bug reports, use the issue tracker <https://github.com/util-linux/util-linux/issues>. tell her what's wrong, she can take it ๐
โญ AVAILABILITY โญ
the namei command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>. go get her ๐
and that's the whole page bestie!! this was util-linux version 2.42.4, dated 2026-09-21, and it's the NAMEI(1) manual page โ slay, periodt ๐ โจ๐ฆ
๐ฆ where this page comes from
- arch rolling: util-linux 2.42.4-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ISC AND LGPL-2.1-or-later AND LicenseRef-PublicDomain
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms