-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
82efd2c
commit ee09ff9
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# namei | ||
|
||
> 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. | ||
- Resolve the pathnames specified as the argument parameters: | ||
|
||
`namei {{path/to/a}} {{path/to/b}} {{path/to/c}}` | ||
|
||
- Display the results in a long-listing format: | ||
|
||
`namei --long {{path/to/a}} {{path/to/b}} {{path/to/c}}` | ||
|
||
- Show the mode bits of each file type in the style of `ls`: | ||
|
||
`namei --modes {{path/to/a}} {{path/to/b}} {{path/to/c}}` | ||
|
||
- Show owner and group name of each file: | ||
|
||
`namei --owners {{path/to/a}} {{path/to/b}} {{path/to/c}}` | ||
|
||
- Don't follow symlinks while resolving: | ||
|
||
`namei --nosymlinks {{path/to/a}} {{path/to/b}} {{path/to/c}}` |