Listing certain man pages


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Listing certain man pages
# 1  
Old 02-19-2019
Listing certain man pages

How would I go about making a list of all man pages beginning with the letter "a"?
I have tried:
Code:
man a*
man [ a ]*
man [a*]
man {a}*
man {a*}
man "a*"
man 'a'*
man 'a*'

# 2  
Old 02-19-2019
how about man -k a*
This User Gave Thanks to vgersh99 For This Post:
# 3  
Old 02-19-2019
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.

Last edited by stomp; 02-20-2019 at 06:28 AM..
This User Gave Thanks to stomp For This Post:
# 4  
Old 02-19-2019
Code:
man -w --names-only --regex '^a'

This User Gave Thanks to nezabudka For This Post:
# 5  
Old 02-19-2019
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
This User Gave Thanks to Xubuntu56 For This Post:
# 6  
Old 02-20-2019
then look at this option as well.
The program will go into all pages one after one.
matching this pattern
Code:
man --names-only --regex '^an'

pressing one by one 'q' and 'Enter'
This User Gave Thanks to nezabudka For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Commands for man pages

what command should i use for displaying the manual pages for the socket, read and connect system calls? (1 Reply)
Discussion started by: Nabeel Nazir
1 Replies

2. HP-UX

Looking for some man pages.

Can anyone supply me with the man pages for: omnidatalist omnibarlist omnisap.exe I prefer the source man pages in nroff format. A clue about the software bundles which supply these man pages is fine as well. OS: HP-UX TIA (11 Replies)
Discussion started by: sb008
11 Replies

3. Solaris

MAN PAGES

Hi everyone, I have a small query, in solaris the man pages get displayed on half of the terminal , can i get a full terminal or full screen display ?:) (2 Replies)
Discussion started by: M.Choudhury
2 Replies

4. Post Here to Contact Site Administrators and Moderators

Extended man pages

Hi, Any chance we could have an input pane in the forums that targets a man page and whose content is output to the bottom of the man page in this way forming extended man pages with additional know how? Thanks, Steve (9 Replies)
Discussion started by: spaesani
9 Replies

5. Fedora

why do we have .1 extension in MAN PAGES?

Hello sir, I am using FEDORA 9. I wanted to know why do we have ".1" extension in the archives of man pages. I know we are giving format. I want to know the importance or purpose of this format. Can you please tell me :confused: (2 Replies)
Discussion started by: nsharath
2 Replies

6. UNIX for Dummies Questions & Answers

man pages

When reading man pages, I notice that sometimes commands are follwed by a number enclosed in parenthesis. such as: mkdir calls the mkdir(2) system call. What exactly does this mean? (4 Replies)
Discussion started by: dangral
4 Replies

7. UNIX for Dummies Questions & Answers

man pages

Hi folks, I want to know all the commands for which man pages are available. How do i get it? Cheers, Nisha (4 Replies)
Discussion started by: Nisha
4 Replies

8. UNIX for Dummies Questions & Answers

Man pages query....

Hello,,, can I use any command in order to be able to see man pages,,, page per page instead for running too fast???:confused: (6 Replies)
Discussion started by: spyros
6 Replies

9. UNIX for Dummies Questions & Answers

man pages

Hi, I've written now a man pages, but I don't knwo how to get 'man' to view them. Where have I to put this files, which directories are allowed?? THX Bensky (3 Replies)
Discussion started by: bensky
3 Replies

10. UNIX for Dummies Questions & Answers

Man pages

Hello , I just installed openssh in my system . I actually tried to man sshd but it says no entry , though there is a man directory in the installation which have the man pages for sshd . Can anyone tell me how should i install these man pages . DP (2 Replies)
Discussion started by: DPAI
2 Replies
Login or Register to Ask a Question