mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-16 03:49:04 +00:00
Update cheatsheets
This commit is contained in:
18
linux/updatedb
Normal file
18
linux/updatedb
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 --verbose`
|
||||
Reference in New Issue
Block a user