=================================================== Searching for items in the Unix manual pages (RTFM) =================================================== -IAN! idallen@idallen.ca Refernce: Learning Unix p.136-137 Finding a keyword (e.g. 'name') in the title lines of manual pages: $ man -k name | less The "|" character is the Unix "pipe" special character. Finding only pages in section (1) of the manual: $ man -k name | grep '(1)' | less Note the use of single quotes to protect the special characters (parentheses) from the Unix shell. Finding only pages that are *not* in section (1) of the manual: $ man -k name | grep -v '(1)' | less Note the use of the "-v" option to the "grep" command (RTFM). Finding pages containing "name" in the title, that are in section (1), that do not contain the string "directory" in the title: $ man -k name | grep '(1)' | grep -v directory | less "man -k" works the same way as the "apropos" command: $ apropos name | grep '(1)' | grep -v directory | less If "less" is not available, use "more" in place of "less" to paginate large output. Make sure you protect the characters used in the grep pattern (the first argument to grep) from expansion or processing by the shell.