Skip to content
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

Merged
merged 3 commits into from
Oct 12, 2018
Merged

namei: add page #2427

merged 3 commits into from
Oct 12, 2018

Conversation

Anmol-Singh-Jaggi
Copy link
Contributor

  • 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.

@tldr-bot
Copy link

The build for this PR has failed with the following error(s):

pages/linux/namei.md:3: TLDR004 Command descriptions should end in a period

Please fix the error(s) and push again.

@Anmol-Singh-Jaggi
Copy link
Contributor Author

For #2214

@owenvoke owenvoke added the new command Issues requesting creation of a new page. label Oct 11, 2018
Copy link
Member

@owenvoke owenvoke left a 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.


- Resolve the pathnames specified as the argument parameters:

`namei {{/path/to/a}} {{/path/to/b}} {{/path/to/c}}`
Copy link
Member

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/...}})


- Display the results in a long-listing format:

`namei --long {{/path/to/a}} {{/path/to/b}} {{/path/to/c}}`
Copy link
Member

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


- Show the mode bits of each file type in the style of `ls`:

`namei --modes {{/path/to/a}} {{/path/to/b}} {{/path/to/c}}`
Copy link
Member

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


- Show owner and group name of each file:

`namei --owners {{/path/to/a}} {{/path/to/b}} {{/path/to/c}}`
Copy link
Member

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


- Don't follow symlinks while resolving:

`namei --nosymlinks {{/path/to/a}} {{/path/to/b}} {{/path/to/c}}`
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch. Done!

pages/linux/namei.md Show resolved Hide resolved
@owenvoke owenvoke merged commit ee09ff9 into tldr-pages:master Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new command Issues requesting creation of a new page.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants