Files
freeCodeCamp/guide/english/bash/bash-man/index.md
zerandomalt 108f59fe9b Updated format to be more consistent (#30311)
Changed the more information section to be more consistent with the rest of the directory while adding an extra link to the Linux man man page. Also added a further example and an extra option to the usage.
2019-03-11 07:42:55 -07:00

867 B

title
title
Bash Man

Man

Man, the abbreviation of manual, is a bash command used to display on-line reference manuals of the given command.

Man displays the relative man page (short for manual page) of the given command.

Usage

man [options] [command]

Most used options:

  • -f, print a short description of the given command
  • -a, display, in succession, all of the available intro manual pages contained within the manual
  • -c, reformat the source man page, used mostly when the page was formatted for a screen with a different number of columns

Examples

Display the man page of ls

man ls

Display a short description of the shutdown command

man -f shutdown

More information: