tldr/pages/linux/updatedb.md

14 lines
270 B
Markdown
Raw Normal View History

2018-10-04 11:26:32 +01:00
# updatedb
> Create or update the database used by `locate`.
> It is usually run daily by cron.
2021-07-11 18:17:29 +01:00
> More information: <https://manned.org/updatedb>.
2018-10-04 11:26:32 +01:00
- Refresh database content:
`sudo updatedb`
- Display file names as soon as they are found:
`sudo updatedb --verbose`