You're reviewing the manual page for the defaults command in Terminal.
What should you do to exit a manual page in the Terminal window?
Correct Answer: D
The Q key is the universal shortcut to quit or exit a manual page in the Terminal window. The manual page, or man page, is a document that provides information about a command or utility in the Unix-like operating systems. The man command is used to display the man page for a given command or topic. The man command uses a pager program, such as less or more, to display the man page in the Terminal window. A pager program allows the user to scroll through the text file one page, line, or half-page at a time. To exit the pager program and return to the shell prompt, the user needs to press the Q key. This is the same for any other program that invokes the pager program, such as git log or git diff. The Q key stands for quit, and it is easy to remember for Mac users who are familiar with the Command + Q shortcut to quit an application. References:
= How to escape out of the MAN screen or page in UNIX?, How to Exit the MAN Command and Quit Man Pages Properly, How to Quit the MAN Command and Exit Man Pages Properly, How to jump to the end of a
'man' page