namei Command Examples

Follows a pathname (which can be a symbolic link) until a terminal point is found (a file/directory/char device etc). This program is useful for finding "too many levels of symbolic links" problems. More information: https://manned.org/namei.

namei {{path/to/a}} {{path/to/b}} {{path/to/c}}

namei {{[-l|--long]}} {{path/to/a}} {{path/to/b}} {{path/to/c}}

namei {{[-m|--modes]}} {{path/to/a}} {{path/to/b}} {{path/to/c}}

namei {{[-o|--owners]}} {{path/to/a}} {{path/to/b}} {{path/to/c}}

namei {{[-n|--nosymlinks]}} {{path/to/a}} {{path/to/b}} {{path/to/c}}