HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

updatedb — Create or update the database used by `locate`. It is usually run daily by cron. More information: <

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecreatecommandupdateupdatedbdatabaseusedcli
linux

Problem

How to use the updatedb command: Create or update the database used by locate. It is usually run daily by cron. More information: <https://manned.org/updatedb>.

Solution

updatedb — Create or update the database used by locate. It is usually run daily by cron. More information: <https://manned.org/updatedb>.

Refresh database content:
sudo updatedb


Display file names as soon as they are found:
sudo updatedb {{[-v|--verbose]}}

Code Snippets

Refresh database content

sudo updatedb

Display file names as soon as they are found

sudo updatedb {{[-v|--verbose]}}

Context

tldr-pages: linux/updatedb

Revisions (0)

No revisions yet.