From 32f4a2b456bdde4397b98f5f659a98a1e54187e9 Mon Sep 17 00:00:00 2001 From: Flavia Bastos Date: Thu, 4 Oct 2018 07:26:32 -0300 Subject: [PATCH] updatedb: add page (#2369) --- pages/linux/updatedb.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/linux/updatedb.md diff --git a/pages/linux/updatedb.md b/pages/linux/updatedb.md new file mode 100644 index 000000000..644828151 --- /dev/null +++ b/pages/linux/updatedb.md @@ -0,0 +1,12 @@ +# 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`