look โ€” Display lines beginning with a prefix in a sorted file. Note: The lines in the file must be sorted. See also: `grep`, `sort`. # source: tldr ยท verified Examples: # Search for lines beginning with a specific prefix in a specific file [GNU] $ look prefix path/to/file # Case-insensitively search only on blank and alphanumeric characters [GNU] $ look [-f|--ignore-case] [-d|--alphanum] prefix path/to/file # Specify a string termination character (space by default) [GNU] $ look [-t|--terminate] , # โœŽ Wrong or incomplete? Improve this page โ†’ https://curlhub.sh/man/look