LOOK - Online Linux Manual PageSection : 1
Updated : 2022-05-11
Source : util−linux 2.38.1
Note : User Commands
ß.nh . am URL . . . am MTO . . . LINKSTYLE blue R < >
NAMElook − display lines beginning with a given string

SYNOPSISlook [options] string [file]

DESCRIPTIONThe look utility displays any lines in file which contain string as a prefix. As look performs a binary search, the lines in file must be sorted (where sort(1) was given the same options −d and/or −f that look is invoked with). If file is not specified, the file /usr/share/dict/words is used, only alphanumeric characters are compared and the case of alphabetic characters is ignored.

OPTIONS−a, −−alternative Use the alternative dictionary file. −d, −−alphanum Use normal dictionary character set and order, i.e., only blanks and alphanumeric characters are compared. This is on by default if no file is specified. Note that blanks have been added to dictionary character set for compatibility with sort −d command since version 2.28. −f, −−ignore−case Ignore the case of alphabetic characters. This is on by default if no file is specified. −t, −−terminate character Specify a string termination character, i.e., only the characters in string up to and including the first occurrence of character are compared. −h, −−help Display help text and exit. −V, −−version Print version and exit. The look utility exits 0 if one or more lines were found and displayed, 1 if no lines were found, and >1 if an error occurred.

ENVIRONMENTWORDLIST Path to a dictionary file. The environment variable has greater priority than the dictionary path defined in the FILES segment.

FILES/usr/share/dict/words the dictionary /usr/share/dict/web2 the alternative dictionary

HISTORYThe look utility appeared in Version 7 AT&T Unix.

EXAMPLES.fam C sort −d /etc/passwd −o /tmp/look.dict look −t: root:foobar /tmp/look.dict .fam

SEE ALSOgrep(1), sort(1)

REPORTING BUGSFor bug reports, use the issue tracker at <https://github.com/util−linux/util−linux/issues>.

AVAILABILITYThe look command is part of the util−linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util−linux/>.
0
Johanes Gumabo
Data Size   :   11,473 byte
man-look.1Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 183,860
Visitor ID   :     :  
Visitor IP   :   18.119.116.125   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_nr_xxx|123|look.1|13|\n[.ss] 0 |.ss \n[.ss] 0 )         (parse_manual_page_|249|look.1|22|am|. am URL )         (parse_manual_page_|249|look.1|24|.|. . )         (parse_manual_page_|249|look.1|25|am|. am MTO )         (parse_manual_page_|249|look.1|27|.|. . )         (parse_manual_page_|249|look.1|28|LINKSTYLE|. LINKSTYLE blue R < > )         (parse_manual_page_|249|look.1|99|fam|.fam C )         (parse_manual_page_|249|look.1|102|fam|.fam )