Files
cheatsheet-tldr/tldr/linux/mandb

34 lines
561 B
Plaintext

---
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`