Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Navigate to another man page within a man page

Tags:

linux

manpage

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?

like image 715
0aslam0 Avatar asked Oct 18 '14 14:10

0aslam0


People also ask

How do you search within a man page?

To search a specific man page section, use the -s option with the man command and the -k or -K option.

What is the correct option to search for a keyword in different man pages?

The three tricks to remember to search once you're within a man page are: / search string – find matches to “search string” in current man page” n – go to next match. shift + n – go to prior match.


1 Answers

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
like image 133
0aslam0 Avatar answered Sep 30 '22 11:09

0aslam0