Search code examples
linuxmanpage

Navigate to another man page within a man page


Say I have given man ls.

Within this man page I found another function/keyword that I wanted to check up. Say I found the function name by doing /fun_name. Now I want to see the man page of this fun_name. Only way I know of is to quit to present man page and do man fun_name.

Is there a shortcut?


Solution

  • When inside the man page, do the following:

    • Press ! followed by a valid shell command.
    • For example : !man cat
    • You can exit by pressing q
    • It would say, !done (press RETURN). You can either press ENTER key or continue pressing q to get out of the multiple man pages