look

Display lines beginning with a prefix in a file. Note: the lines in the file must be sorted. See also: grep, sort. More information: https://manned.org/look.

look prefix path/to/file

look -f|-ignore-case -d|-alphanum prefix path/to/file

look -{t|-terminate} ,

look prefix

look -a|-alternative prefix