2

I learn Linux partly by reading man documentation.

I often find relevant man pages using apropos or man <command>.

However, I've come across many "hidden" gems, like man credentials and man unix that I didn't knew existed before I saw other man pages refer to them.

Is there a way to list all man pages available on the system, so that I can get a complete overview of what's available?

I tried looking into man --all --regex <regex>, but it seems that man opens the matching man pages instead of listing them.

1
  • 1
    Try apropos -r .* | less. Is that what you are looking for? If you want to limit to man levels, you can use apropos -s <level> -r .* (for instance apropos -s 3 -r .*). Commented Jun 17, 2020 at 5:23

1 Answer 1

4

Try this,

man -k . 
  • -k Equivalent to apropos.
4
  • Thank you. Here . matches any char? Commented Jun 17, 2020 at 4:59
  • Isn't -k (apropos) implied by default? Commented Jun 17, 2020 at 5:00
  • 1
    Yes, . matched any char Commented Jun 17, 2020 at 5:05
  • What do you mean by "builtins"? On my system man . and man -k . produces identical output (Debian 9) Commented Jun 17, 2020 at 5:06

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.