Listing certain man pages

How would I go about making a list of all man pages beginning with the letter "a"?
I have tried:

man a*
man [ a ]*
man [a*]
man {a}*
man {a*}
man "a*"
man 'a'*
man 'a*'

how about man -k a*

1 Like

man -k searches in more than the mere man page name.

Maybe man -k . | grep -E '^a' is more helpful.

Besides: a* matches to anything, it can be an empty string.

1 Like
man -w --names-only --regex '^a'
1 Like

Thanks to all.
@vgersh99--your code gave a complete listing of all man pages with short descriptions, which is what I originally wanted

@stomp--your code showed me all the "a" pages with a short description

@nezabudka--your code showed me the location of all the "a" pages, in compressed form

1 Like

then look at this option as well.
The program will go into all pages one after one.
matching this pattern

man --names-only --regex '^an'

pressing one by one 'q' and 'Enter'

1 Like