Operating Systems

Which Linux command displays the manual page that documents how a given command is used?

Show the answer

Correct answerD. man

AWhy not this: cat prints the contents of files; it does not look up command documentation.

BWhy not this: ps lists running processes and has no role in showing documentation.

CWhy not this: df reports file system disk space usage, not command help.

DWhy this is right: man displays the manual page for a command, including its syntax and options.

The man command opens the manual page for a command, showing its syntax, options and description. The df command is tempting but only reports free and used space on file systems.