Co robi SLOCATE użycie. Konsola file permissions and ownership information so users cannot see.

Czy przydatne?

Polecenie slocate

Wykonanie, użycie: Securely search database(s) of filenames and print matches. Works like locate, but it also stores file permissions and ownership information so users cannot see files to which they don't have access. In some distributions, locate is actually a symbolic link to slocate

Opcje wykonania slocate w konsoli

-c

Check the configuration file, /etc/updatedb.conf, when updating the database.

-d path, --database=path

Specify the path to the database(s) to search.

-e dirs

Omit the specified directories from the database. Used with -u or -U.

-f fstypes

Omit the files on the specified filesystems from the database.

-h, --help

Display help information and exit.

-i

Perform a case-insensitive search.

-l level

Specify security level. If level is 0, turn off security checking to speed up searches. If level is 1, turn on checking. The default is 1.

-n num

Limit the number of results to num.

-o file, --output=file

Specify the database file to create with -u or -U.

-q

Run in quiet mode, suppressing error messages.

-r regexp, --regexp=regexp

Search the database using the specified POSIX regular expression.

-u

Create an slocate database starting at /.

-U dir

Create an slocate database starting at the specified directory.

-v, --verbose

Run in verbose mode, displaying the files when creating the database.

-V, --version

Print version information and exit.

Przykłady slocate działanie w Słownik polecenie S

Przykład SLOCATE użycie :
Jak użyć Wait a specified amount of time before executing another command. units may be s (seconds), m (minutes), h (hours), or d (days). The default for units is seconds co znaczy.
Przykład SLOCATE użycie :
Jak użyć Print the number of bytes of each section of objfile and its total size. If objfile is not specified, a.out is used krzyżówka.
Przykład SLOCATE użycie :
Jak użyć Display kernel slab cache information in real time. slabtop displays a listing of the top caches as sorted by a given sort criteria co to jest.
Przykład SLOCATE użycie :
Jak użyć from first through last by increment . The default is to print one number per line to standard output. Both first and increment can be omitted and default to 1, but if first is omitted then increment słownik.
Przykład SLOCATE użycie :
Jak użyć administration command. Examine or modify kernel parameters at runtime using the /proc/sys filesystem. While many of these kernel keys can be altered by other utilities, sysctl provides a single czym jest.