look

Display lines beginning with a prefix in a sorted file. See also: grep, sort. More information: https://man.freebsd.org/cgi/man.cgi?look.

look prefix path/to/file

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

look -t|-terminate ,

look prefix