OS Manuals

/usr/bin/look

Misc binaries for util-linux

From util-linux-misc 2.42.4-r2 (os), captured 2026-11-05 by running look --help (exit 0). permalink

Usage:
 look [options] <string> [<file>...]

Display lines beginning with a specified string.

Options:
 -a, --alternative        use the alternative dictionary
 -d, --alphanum           compare only blanks and alphanumeric characters
 -f, --ignore-case        ignore case differences when comparing
 -t, --terminate <char>   define the string-termination character

 -h, --help               display this help
 -V, --version            display version

For more details see look(1).
Options (6)
OptionDescriptionSource
-a, --alternativeUse the alternative dictionary file.help + man
-d, --alphanumUse normal dictionary character set and order, i.e., only blanks and alphanumeric characters are compared.help + man
-f, --ignore-caseIgnore the case of alphabetic characters.help + man
-t, --terminate charSpecify a string termination character, i.e., only the characters in string up to and including the first occurrence of character are compared.help + man
-h, --helpDisplay help text and exit.help + man
-V, --versionDisplay version and exit.help + man
Exit status (2) from the manual page
0one or more lines were found and displayed
1no lines were found
Examples (1) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.