~/ learn/ comp-325/ cards/ Reading the manual, and asking the machine what it is
1 of 10

Find a page when the name is ambiguous

Find a page when the name is ambiguous

Answer

man -k socket whatis read man 2 read

`man -k` (apropos) searches the one-line descriptions when you do not know the name; `whatis` prints those one-liners for a name you do know, across every section, which is how you discover the ambiguity. Then `man 2 read` asks for the section you actually wanted — spelled `man -s 2 read` on Solaris and `man -S2 read` on FreeBSD.

Sarwar & Koretsky 3e ch2 §2.4.5–2.4.6, §2.5.1; ch23

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/551b4315-f78b-459d-a4f7-9367103ac9fd/flashcard utf-8 LF