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.pull/30605/head^2
parent
1045d8e99c
commit
108f59fe9b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue