Jeff-strong (talk | contribs) m (Editorial review and minor corrections) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
Finally, let's try out one more very helpful command. If we want to learn more about a command, we can read its ''manual''. We do this with the command '''man'''. As an example, look at the man page for the emacs command. Type '''man emacs'''. | |||
Finally, let's try out one more very helpful command. If we want to learn more about a command we can read its ''manual''. We do this with the command '''man'''. As an example, look at the man page for the emacs command. Type '''man emacs'''. | |||
{{ConsoleLine|john-williams@codermerlin:~/Merlin$ |man emacs}} | {{ConsoleLine|john-williams@codermerlin:~/Merlin$ |man emacs}} | ||
The screen | The screen is filled with information about the emacs command. While a man page is displayed, we can navigate by using the following keys: | ||
* Typing {{Key|f}} | * Typing {{Key|f}} moves us forward one page in the manual | ||
* Typing {{Key|b}} | * Typing {{Key|b}} moves us backward one page in the manual | ||
* Typing {{Key|q}} | * Typing {{Key|q}} quits (exits the manual) | ||
Exit the manual now. | Exit the manual now. |
Latest revision as of 14:03, 22 February 2023
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
Finally, let's try out one more very helpful command. If we want to learn more about a command, we can read its manual. We do this with the command man. As an example, look at the man page for the emacs command. Type man emacs.
john-williams@codermerlin:~/Merlin$ man emacs
The screen is filled with information about the emacs command. While a man page is displayed, we can navigate by using the following keys:
- Typing f moves us forward one page in the manual
- Typing b moves us backward one page in the manual
- Typing q quits (exits the manual)
Exit the manual now.