Читать книгу Linux Bible - Christopher Negus - Страница 119
NOTE
ОглавлениеIf man -k
displays no output, it may be that the man page database has not been initialized. Type mandb as root to initialize the man page database.
Let's say that the two man pages in which I am interested are the passwd
command (in section 1 of the man pages) and the passwd
file (in section 5) man pages. Because just typing man passwd displays the section 1 page, I need to request explicitly the section 5 man page if I want to see that instead (man 5 passwd).
While you are displaying a man page, you can view different parts of the file using Page Down and Page Up keys (to move a page at a time). Use the Enter key or up and down arrows to move a line at a time. Press a forward slash (/) and type a term to search the document for that term. Press n to repeat the search forward or N to repeat the search backward. To quit the man page, type q.