tldr/pages/linux/updatedb.md

13 lines
219 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.
- Refresh database content:
`sudo updatedb`
- Display file names as soon as they are found:
`sudo updatedb --verbose`