Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux man Command

Linux man Command

Linux Command Reference Linux Command Reference

The Linux man command is short for the word "manual" and is used to view the manual pages of various commands, functions, and configuration files.

With the man command, you can obtain detailed information about a specific command or topic.

Syntax

man [选项] [节号] 命令/主题

Some common options include:

Common section numbers include:

Example

To view the manual page for the ls command, run the following command:



man ls

To view the manual page for the C standard library function printf, run:

man 3 printf

To search for manual page entries containing a specific keyword, use the -k option:

man -k keyword

Linux Command Reference Linux Command Reference