manpdf

(★ 36)

Read your Man pages in PDF format. Even online!

File Explorer

  • .gitignore
  • LICENSE
  • Makefile
  • manpdf
  • manweb
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

fzf

View Details ▼

Fuzzy finder.
Similar to `sk`.

find {{path/to/directory}} -type f | fzf

Start `fzf` on all files in the specified directory:

ps aux | fzf

Start `fzf` for running processes:

find {{path/to/directory}} -type f | fzf {{[-m|--multi]}} > {{path/to/file}}

Select multiple files with `<Shift Tab>` and write to a file:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

groff

View Details ▼

GNU replacement for the `troff` and `nroff` typesetting utilities.

groff {{path/to/input.roff}} > {{path/to/output.ps}}

Format output for a PostScript printer, saving the output to a file:

groff -man -T ascii {{path/to/manpage.1}} | less --RAW-CONTROL-CHARS

Render a man page using the ASCII output device, and display it using a pager:

groff -man -T html {{path/to/manpage.1}} > {{path/to/manpage.html}}

Render a man page into an HTML file:

🔍

gzip

View Details ▼

Compress/uncompress files with `gzip` compression (LZ77).

gzip {{path/to/file}}

Compress a file, replacing it with a `gzip` archive:

gzip {{[-d|--decompress]}} {{path/to/file.gz}}

Decompress a file, replacing it with the original uncompressed version:

gzip {{[-v|--verbose]}} {{path/to/file.gz}}

Display the name and reduction percentage for each file compressed:

🔍

man

View Details ▼

Format and display manual pages.
See also: `whatis`, `apropos`.

man {{command}}

Display the man page for a command:

man {{[-H|--html=]}}{{browser_name}} {{command}}

Open the man page for a command in a browser (`=browser_name` can be omitted if `$BROWSER` is set):

man 7 {{command}}

Display the man page for a command from section 7:

🔍

tldr

View Details ▼

Display simple help pages for command-line tools from the tldr-pages project.
Note: The `--language` and `--list` options are not required by the client specification, but most clients implement them.

tldr {{command}}

Print the tldr page for a specific command (hint: this is how you got here!):

tldr {{command}} {{subcommand}}

Print the tldr page for a specific subcommand:

tldr {{[-L|--language]}} {{language_code}} {{command}}

Print the tldr page for a command in the given language (if available, otherwise fall back to English):

🔍

xdg-open

View Details ▼

Open a file or URL in the user's preferred application.

xdg-open .

Open the current directory in the default file explorer:

xdg-open {{https://example.com}}

Open a URL in the default browser:

xdg-open {{path/to/image}}

Open an image in the default image viewer:

# Project Badges

  • man-pdf man-pdf
// repository documentation