Linux / Unix: View Overlapping Man Page With Same Names

In Unix-like systems, the manual pages (man pages) are stored in separate sections. If two man pages have the same name but are stored in different sections, you can use the man command with the -a option to view all of the man pages with the same name:

man -a [page name]

For example, if you want to view all the man pages with the name ls, you can run the following command:

man -a ls

After running the command, the man pages will be displayed one after the other. You can use the q command to exit the man page viewer.

Note: The man pages in different sections often contain similar or related information, but they are intended for different audiences or purposes.

Leave a Comment