Notes

How to create a man page for your Bash Script

a few pointers on writing a man page for my own bash script, nroff or groff files and where to put them in /usr/local/man.

Edit on GitHub

Bash Scripting
  • The man pages are written as nroff files.
  • The /usr/local/man directory is the location typically used for any locally installed packages/files.
  • You can look at examples by looking at the existing manpages, (which will likely need to be uncompressed first), also read man.
  • Presently many users prefer groff to nroff, man groff to get started

Resources

Related

Browse all topics