Difference between revisions of "Shell/Display a Manual"

From Coder Merlin
imported>Anton-krom
Line 1: Line 1:
== Display a Manual ==
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'''.  



Revision as of 16:22, 12 December 2021

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 will be filled with information about the emacs command. While a man page is displayed we can use the following keys to navigate:

  • Typing f will move us forward one page in the manual
  • Typing b will move us backward one page in the manual
  • Typing q will quit (exit the manual)

Exit the manual now.