OS Manuals

/usr/bin/mandb

The man command and related utilities for examining on-line help files

From man-db 2.13.1-r57 (os), captured 2026-11-05 by running mandb --help (exit 0). permalink

Usage: mandb [OPTION...] [MANPATH]

  -c, --create               create dbs from scratch, rather than updating
  -C, --config-file=FILE     use this user configuration file
  -d, --debug                emit debugging messages
  -f, --filename=FILENAME    update just the entry for this filename
  -p, --no-purge             don't purge obsolete entries from the dbs
  -q, --quiet                work quietly, except for 'bogus' warning
  -s, --no-straycats         don't look for or add stray cats to the dbs
  -t, --test                 check manual pages for correctness
  -u, --user-db              produce user databases only
  -?, --help                 give this help list
      --usage                give a short usage message
  -V, --version              print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

Report bugs to cjwatson@debian.org.
Options (12)
OptionDescriptionSource
-c, --createBy default, mandb will try to update any previously created databases.help + man
-C, --config-file FILEUse this user configuration file rather than the default of ~/.manpath.help + man
-d, --debugPrint debugging information.help + man
-f, --filename FILENAMEUpdate only the entries for the given filename.help + man
-p, --no-purgeDo not spend time checking for deleted manual pages and purging them from the databases.help + man
-q, --quietwork quietly, except for 'bogus' warninghelp + man
-s, --no-straycatsDo not spend time looking for or adding information to the databases regarding stray cats.help + man
-t, --testPerform correctness checks on manual pages in the hierarchy search path.help + man
-u, --user-dbCreate user databases only, even with write permissions necessary to create system databases.help + man
-?, --helpShow the usage message, then exit.help + man
--usagePrint a short usage message and exit.help + man
-V, --versionShow the version, then exit.help + man
Exit status (4) from the manual page
0Successful program execution.
1Usage, syntax, or configuration file error.
2Operational error.
3A child process failed.

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.