From 31325d9bd8bd0fbed7cb9d4d2cde6546d8d8f8ab Mon Sep 17 00:00:00 2001 From: kai Date: Mon, 18 Jul 2022 21:15:19 -0500 Subject: [PATCH] man: use long options in examples (#8216) * man: use long options in examples * man: move long options to /linux/ --- pages/linux/man.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/linux/man.md diff --git a/pages/linux/man.md b/pages/linux/man.md new file mode 100644 index 0000000000..7138b00b11 --- /dev/null +++ b/pages/linux/man.md @@ -0,0 +1,32 @@ +# man + +> Format and display manual pages. +> More information: . + +- Display the man page for a command: + +`man {{command}}` + +- Display the man page for a command from section 7: + +`man {{7}} {{command}}` + +- List all available sections for a command: + +`man --whatis {{command}}` + +- Display the path searched for manpages: + +`man --path` + +- Display the location of a manpage rather than the manpage itself: + +`man --where {{command}}` + +- Display the man page using a specific locale: + +`man {{command}} --locale={{locale}}` + +- Search for manpages containing a search string: + +`man --apropos "{{search_string}}"`