look command in Linux with Examples
The look command in Linux shows the lines beginning with a given string. This command also uses binary search if the file is sorted. If file is not specified, the file /usr/share/dict/words is used. And then only the alphanumeric characters are compared and the case of alphabetic characters is ignored.
Syntax:
look [-bdf] [-t termchar] string [file ...]
Example:
Options:
Last Updated :
23 Apr, 2019
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...