EnglishFrenchSpanish

Ad


OnWorks favicon

look - Online in the Cloud

Run look in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command look that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


look — display lines beginning with a given string

SYNOPSIS


look [-bdf] [-t termchar] string [file ...]

DESCRIPTION


The look utility displays any lines in file which contain string as a prefix.

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.

The following options are available:

-b Use a binary search on the given word list. If you are ignoring case with -f or
ignoring non-alphanumeric characters with -d, the file must be sorted in the same
way. Please note that these options are the default if no filename is given. See
sort(1) for more information on sorting files.

-d Dictionary character set and order, i.e., only alphanumeric characters are compared.

-f Ignore the case of alphabetic characters.

-t Specify a string termination character, i.e., only the characters in string up to
and including the first occurrence of termchar are compared.

ENVIRONMENT


The LANG, LC_ALL and LC_CTYPE environment variables affect the execution of the look
utility. Their effect is described in environ(7).

Use look online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad