To Index

 Documented in Volume 1 of the UNIX Programmers Manual.


 % look spel
  will search for words beginning with 'spel' in the system dictionary,
  /usr/dict/words, and list them like this:

 spell
 spellbound
 


 % look -f ta /usr/lib/whatis
  will ignore case (-f), looking for any lines starting with "ta" in 
  the sorted file named /usr/lib/whatis and list them to stdout.
  (This file is where the whatis command looks for command names.)
  Note that the file specified MUST be a sorted file.
    This is a very fast way to interrogate such files.  This example will
  produce a list like this:

   tabs (1)		- set terminal tabs
   tail (1)		- deliver the last part of a file
   talk (1)		- talk to another user
   tar (1)		- tape archiver
   tar (5)		- tape archive file format

 NOTE: in general, use sort -f to get the proper sorted sequence.

To Index