Ubuntu – How to follow a link in man

manpage

When looking at man-pages in the terminal I often come across words with bracketed numbers after them (like mkdir(2)).
If I am not mistaken, these are links or references to other man-pages.

If so, how can I follow that link / find the referenced page?

If not, what does this mean?

Best Answer

If you want to see all man pages about a command, one after the other, use the -a to man:

man -a mkdir

then use the SPACE bar, then q to quit the first page and then the ENTER key to see the next (2) page.

To find out more you can lookup the manpage of man using

man man