| Linux / Unix Command: locate |
NAME
slocate - Security Enhanced version of the GNU LocateSYNOPSIS
slocate [-qi] [-d
slocate [-i] [-r
slocate [-qv] [-o
slocate [-e
slocate [-Vh] [--version] [--help]
Important:
Use the man command (% man) to see how a command is used on your
particular computer.
DESCRIPTION
Secure Locate provides a secure way to index and quickly search for
files on your system. It uses incremental encoding just like GNU locate
to compress its database to make searching faster, but it will also store
file permissions and ownership so that users will not see files they do
not have access to.
This manual page documents the GNU version of
slocate.
slocate
Enables system users to search entire filesystems without
displaying unauthorized files.
OPTIONS
EXAMPLES
locate project
Lists all files that contain the string "project". If that command does not work you will need to run the command:
slocate -u
This command builds the slocate database which will allow you to use the locate (slocate) command. It may take a few minutes to run.
SEE ALSO
locatedb(1L),
find(5L),
updatedb(1L),
xargs(1L)

