mandb

Manage the pre-formatted manual page database. More information: <https://man7.org/linux/man-pages/man8/mandb.8.html>.

Install

All systems
curl cmd.cat/mandb.sh
Debian Debian
apt-get install man-db
Ubuntu
apt-get install man-db
Arch Arch Linux
pacman -S man-db
image/svg+xml Kali Linux
apt-get install man-db
CentOS
yum install man-db
Fedora
dnf install man-db
Windows (WSL2)
sudo apt-get update sudo apt-get install man-db
Raspbian
apt-get install man-db

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

© tl;dr; authors and contributors