mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-17 17:49:37 +00:00
Update cheatsheets
This commit is contained in:
33
linux/mandb
Normal file
33
linux/mandb
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mandb
|
||||
|
||||
> Manage the pre-formatted manual page database.
|
||||
> More information: <https://man7.org/linux/man-pages/man8/mandb.8.html>.
|
||||
|
||||
- Purge and process manual pages:
|
||||
|
||||
`mandb`
|
||||
|
||||
- Update a single entry:
|
||||
|
||||
`mandb --filename {{path/to/file}}`
|
||||
|
||||
- Create entries from scratch instead of updating:
|
||||
|
||||
`mandb --create`
|
||||
|
||||
- Only process user databases:
|
||||
|
||||
`mandb --user-db`
|
||||
|
||||
- Do not purge obsolete entries:
|
||||
|
||||
`mandb --no-purge`
|
||||
|
||||
- Check the validity of manual pages:
|
||||
|
||||
`mandb --test`
|
||||
Reference in New Issue
Block a user