-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
namei: add page #2427
namei: add page #2427
Conversation
The build for this PR has failed with the following error(s):
Please fix the error(s) and push again. |
For #2214 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Anmol-Singh-Jaggi, thanks for the new page!
I just have a few comments below.
pages/linux/namei.md
Outdated
|
||
- Resolve the pathnames specified as the argument parameters: | ||
|
||
`namei {{/path/to/a}} {{/path/to/b}} {{/path/to/c}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the prefixing slash from each path (i.e. {{path/to/...}}
)
pages/linux/namei.md
Outdated
|
||
- Display the results in a long-listing format: | ||
|
||
`namei --long {{/path/to/a}} {{/path/to/b}} {{/path/to/c}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the prefixing slash from each path
pages/linux/namei.md
Outdated
|
||
- Show the mode bits of each file type in the style of `ls`: | ||
|
||
`namei --modes {{/path/to/a}} {{/path/to/b}} {{/path/to/c}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the prefixing slash from each path
pages/linux/namei.md
Outdated
|
||
- Show owner and group name of each file: | ||
|
||
`namei --owners {{/path/to/a}} {{/path/to/b}} {{/path/to/c}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the prefixing slash from each path
pages/linux/namei.md
Outdated
|
||
- Don't follow symlinks while resolving: | ||
|
||
`namei --nosymlinks {{/path/to/a}} {{/path/to/b}} {{/path/to/c}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the prefixing slash from each path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch. Done!
The page (if new), does not already exist in the repo.
The page (if new), has been added to the correct platform folder:
common/
if it's common to all platforms,linux/
if it's Linux-specific, and so on.The page has 8 or fewer examples.
The PR is appropriately titled:
<command name>: add page
for new pages, or<command name>: <description of changes>
for pages being edited.The page follows the contributing guidelines.