Skip to content

look


NAME
     look - find lines in a sorted list

SYNOPSIS
     look prefix [file]

DESCRIPTION
     Print the words in /usr/dict/words that begin with the given prefix,
     or the lines of another file if one is named.

     The dictionary here is a few hundred words against the real one's
     twenty-five thousand. It is an ordinary file, so cat(1) and wc(1)
     will tell you exactly what is in it.

EXAMPLES
     look tel        telephone, tell
     look sw         switch, switches, switching

SEE ALSO
     spell(1), grep(1), sort(1)