Ubuntu – How to view the man pages

command linedocumentationmanpage

I'm new to Linux. I got the "Unix And Linux System Administration Handbook" It speaks of several verisons of linux and unix, and the commands for viewing linux man pages and not specific to ubuntu.

How do I view the manpages?

Best Answer

To view a manual page related to a package, open a terminal (press Ctrl+Alt+T together) and type:

man <package_name>

For example, to view grep's manual page, type:

man grep

This will open the manual page referring to the section numbers in the order:

1 2 3 4 5 6 7 

If you want to open the manual page of a specific section, type:

man <section_number> <package_name>

For example, to open the manual page of the open() function in C, you should type:

man 2 open

More information:

Related Question