CATMAN(8)
๐ catman ๐
Manual pager utils ๐ okay bestie, this is the tool that makes your man pages load super fast โจ
โจ NAME โจ
catman โ create or update the pre-formatted manual pages ๐ธ
๐ฆ SYNOPSIS ๐ฆ
catman [-d?V] [-M path] [-C file] [section] ...
๐ DESCRIPTION ๐
okay so catman makes a fresh, up-to-date set of pre-formatted manual pages, aka cat pages ๐ Cat pages are usually way quicker to display than the original manual pages, but they eat up extra storage space, so it's giving trade-off ๐ Whether you want them at all is up to the local administrator, who has to set up the directories that hold them ๐ซถ
The options catman works with are the manual page hierarchies and the sections you want pre-formatted ๐ง By default, the hierarchies are whatever's listed as system hierarchies in the man-db configuration file. The default sections come from the colon-delimited contents of the $MANSECT environment variable, or the standard set built into man if $MANSECT isn't set at all ๐ If you pass in a whitespace-delimited list of section names, that overrides both of those defaults, no cap ๐
Also, catman uses the index database cache that goes with each hierarchy to figure out which files actually need formatting ๐ฅ very efficient, very iconic โจ
๐ OPTIONS ๐
-d,--debugโ prints debugging info ๐-M path,--manpath=pathโ lets you pick your own colon-delimited manual page hierarchy search path ๐บ๏ธ By default, this is every path marked as a system hierarchy in the man-db configuration file-C file,--config-file=fileโ uses this user configuration file instead of the default, which is~/.manpath๐-?,--helpโ prints a help message and exits ๐--usageโ prints a short usage message and exits ๐ฆ-V,--versionโ shows the version info โญ
๐ง ENVIRONMENT ๐ง
MANSECTโ if this is set, its value is a colon-delimited list of sections, and it decides which manual sections get searched and in what order ๐ธ The default is"1 n l 8 3 0 2 3type 3posix 3pm 3perl 3am 5 4 9 6 7", unless theSECTIONdirective in/etc/manpath.configoverrides it ๐ซถMANPATHโ if this is set, its value is read as the colon-delimited manual page hierarchy search path to use ๐ For the default behaviour and the full scoop on how this variable is handled, check the SEARCH PATH section ofmanpath(5), it's giving detail ๐
๐ FILES ๐
/etc/manpath.configโ the man-db configuration file ๐/usr/man/index.(bt|db|dir|pag)โ a traditional global index database cache ๐ฆ/var/catman/index.(bt|db|dir|pag)โ an alternate, or FSSTND compliant, global index database cache ๐
๐ SEE ALSO ๐
man(1), manpath(5), mandb(8) ๐
๐ AUTHOR ๐
The legends behind this are:
- Wilf. (G.Wilford@ee.surrey.ac.uk) ๐
- Fabrizio Polacco (fpolacco@debian.org) โจ
- Colin Watson (cjwatson@debian.org) ๐ซถ
๐ BUGS ๐
bugs? not on my watch ๐ Report them here:
Version 2.13.1, dated 2025-05-02, and that's a wrap bestie ๐๐โจ
๐ฆ where this page comes from
- debian trixie: man-db 2.13.1-1 ยท GPL-2.0-or-later
- ubuntu questing: man-db 2.13.1-1 ยท GPL-2.0-or-later
- ubuntu resolute: man-db 2.13.1-1build1 ยท GPL-2.0-or-later
- ubuntu stonking: man-db 2.13.1-1build1 ยท GPL-2.0-or-later
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms