Which of the following commands displays the manual page for command from section 1?
command
man takes an optional section number before the page name, so man 1 command opens the section 1 page. This is the portable, POSIX-style form and the one this exam expects.
man
man 1 command
Note that man -s 1 command also works on many systems — it is the Solaris syntax, which both man-db (most Linux distributions) and BSD accept as an extension — but it is not the portable form. man command(1), man command@1 and man 1.command are not valid syntax.
man -s 1 command
man command(1)
man command@1
man 1.command
Community Discussion