-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add info on command help #1393
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
Add info on command help #1393
Conversation
en/intro_to_command_line/README.md
Outdated
@@ -146,6 +146,24 @@ You'll probably see something similar on your machine. Once you open the command | |||
|
|||
--- | |||
|
|||
### Learn more about a command | |||
|
|||
Many commands you can type at the command prompt have built-in help that you can display and read! For example, to learn more about the Current directory command: |
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.
Is "current" capitalized here intentionally?
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.
I had thought the tutorial capitalized it but I think you are right, I was looking at a header... will fix.
en/intro_to_command_line/README.md
Outdated
|
||
<!--sec data-title="Command help: OS X and Linux" data-id="OSX_Linux_pwd" data-collapse=true ces--> | ||
|
||
OS X and Linux have a `man` command, which gives you help on commands. Try `man pwd` and see what it says, or put `man` before other commands to see their help. |
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.
If the man page doesn't fit in the command line window, man
will automatically invoke a pager (usually less
) to display the content. It should probably be mentioned how to navigate in there (arrow keys, page-up/page-down keys) and how to exit the pager (q
for "quit").
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.
Good idea! I'll update the text...
Do not capitalize name of command in "Get help" section. Also describe how to use the pager in man on Linux / OS/X.
How's this version? Thanks for the feedback! |
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.
👍
Fixes #1384