slocate
Secure variant of GNU Locate. See also:
locate. More information: https://manned.org/slocate.
- Enable quiet mode to suppress error messages:
slocate -q
- Limit the number of results shown:
slocate -n
- Build an
slocatedatabase starting at path/:
slocate -u
- Build an
slocatedatabase starting at a given directory:
slocate -U
- Update an
slocatedatabase using the default/etc/updatedb.confconfiguration:
slocate -c
- Set the security level of
slocate, with0being disabled, and1being secure:
slocate -l
- Specify the database that
slocateshould search in:
slocate
- Search the
slocatedatabase using a specificregexstring:
slocate
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
