From a1a7f4f337b99bc16ce9d0f539d7a7f4f0fa4a51 Mon Sep 17 00:00:00 2001 From: Archaic Date: Mon, 4 Jul 2005 21:32:47 +0000 Subject: Brought (hopefully) all references of man/info pages into conformity. Updated typography to reflect this. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6376 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- prologue/typography.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'prologue/typography.xml') diff --git a/prologue/typography.xml b/prologue/typography.xml index 62b8ef9c9..13cc4d199 100644 --- a/prologue/typography.xml +++ b/prologue/typography.xml @@ -54,5 +54,24 @@ Therefore, this entire section is generally typed as seen. This format is used to encapsulate text that is not to be typed as seen or copy-and-pasted. +passwd(5) + +This format is used to refer to a specific manual page (hereinafter +referred to simply as a man page). The number inside parentheses +indicates a specific section inside of man. For example, +passwd has two man pages. Per LFS installation instructions, +those two man pages will be located at +/usr/share/man/man1/passwd.1 and +/usr/share/man/man5/passwd.5. Both man pages have different +information in them. When the book uses passwd(5) it is +specifically referring to /usr/share/man/man5/passwd.5. +man passwd will print the first man page it finds that +matches passwd, which will be +/usr/share/man/man1/passwd.1. For this example, you will +need to run man 5 passwd in order to read the specific page +being referred to. It should be noted that most man pages do not have duplicate +page names in different sections. Therefore, man [program +name] is generally sufficient. + -- cgit v1.2.3-54-g00ecf