Co robi LOCATE użycie. Konsola unless pattern includes metacharacters, in which case locate.

Czy przydatne?

Polecenie locate

Wykonanie, użycie: Search database(s) of filenames and print matches. Matches include all files that contain pattern unless pattern includes metacharacters, in which case locate requires an exact match. *, ?, [, and ] are treated specially; / and . are not. Searches are conducted against a database of system contents that is updated periodically. To update the database, use the updatedb command

Opcje wykonania locate w konsoli

-d path, --database=path

Search databases in path. path must be a colon-separated list.

-h, --help

Print a help message and then exit.

--version

Print version information and then exit.

Przykłady locate działanie w Słownik polecenie L

Przykład LOCATE użycie :
Jak użyć Cancel print jobs. Job IDs can be obtained from lpq ; if no job is specified, cancels the current job on the default printer co znaczy.
Przykład LOCATE użycie :
Jak użyć Consult /var/run/utmp for user's login name. If found, print it; otherwise, exit with an error message krzyżówka.
Przykład LOCATE użycie :
Jak użyć current locale settings. Locales determine the country-specific settings for a system, including character encodings, the formatting of dates, honorifics, diagnostic messages, currency, printer-paper co to jest.
Przykład LOCATE użycie :
Jak użyć printed. If no files are given, accept standard input. We document the CUPS printing system here; the older LPRng and BSD systems will vary slightly. CUPS lpr, for example, does not accept the słownik.
Przykład LOCATE użycie :
Jak użyć System administration command. List all Universal Serial Bus (USB) devices. This command has many options of use for debugging device drivers. Here we document some of the more common options czym jest.