From 108f59fe9bc70e83e0789b1a5da6c6cb4b07e923 Mon Sep 17 00:00:00 2001 From: zerandomalt <33420785+zerandomalt@users.noreply.github.com> Date: Mon, 11 Mar 2019 14:42:55 +0000 Subject: [PATCH] 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. --- guide/english/bash/bash-man/index.md | 72 +++++++++++++++------------- 1 file changed, 40 insertions(+), 32 deletions(-) diff --git a/guide/english/bash/bash-man/index.md b/guide/english/bash/bash-man/index.md index 1c505007dd6..4821c23842b 100644 --- a/guide/english/bash/bash-man/index.md +++ b/guide/english/bash/bash-man/index.md @@ -1,32 +1,40 @@ ---- -title: Bash Man ---- - -## Man - -Man, the abbreviation of **man**ual, is a bash command used to display on-line reference manuals of the given command. - -Man displays the relative man page (short for **man**ual **page**) of the given command. - -### Usage - -```bash -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 - -### Example - -Display the man page of ls: - -```bash -man ls -``` - -#### More information: - -* Wikipedia: https://en.wikipedia.org/wiki/Man_page +--- +title: Bash Man +--- + +## Man + +Man, the abbreviation of **man**ual, is a bash command used to display on-line reference manuals of the given command. + +Man displays the relative man page (short for **man**ual **page**) of the given command. + +### Usage + +```bash +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 + +```bash +man ls +``` + +#### Display a short description of the shutdown command + +```bash +man -f shutdown +``` + +### More information: + +* [Wikipedia](https://en.wikipedia.org/wiki/Man_page) +* [Linux](https://linux.die.net/man/1/man)