Skip to content

Instantly share code, notes, and snippets.

@corpulentcoffee
Created July 9, 2019 23:56
Show Gist options
  • Save corpulentcoffee/53dbdb32848888174989cd82e2fd9df9 to your computer and use it in GitHub Desktop.
Save corpulentcoffee/53dbdb32848888174989cd82e2fd9df9 to your computer and use it in GitHub Desktop.
Avail custom man pages on Ubuntu
$ manpath
/usr/local/man:/usr/local/share/man:/usr/share/man
$ mkdir ~/man
$ manpath
/home/user123/man:/usr/local/man:/usr/local/share/man:/usr/share/man
$ man thingie
No manual entry for thingie
See 'man 7 undocumented' for help when manual pages are not available.
$ mkdir ~/man/man1
$ ln -s ~/Repos/thingie/doc/thingie.1 ~/man/man1
$ man thingie | head -n5
THINGIE(1) User Commands THINGIE(1)
NAME
thingie — Does stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment