Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let's say you wanted to search the documentation for mplayer:

# man mplayer

To search for "length" you would type "/length" while in man and press enter. To go to the next occurrence of "length" you would type "n". What is the hotkey to get to the previous occurrence of "n"?

And what are the hotkeys to get to the next and previous occurrences of a search term in info?

# info mplayer
share|improve this question
up vote 9 down vote accepted

For the man command, as you say, use /YOUR_SEARCH to find the first occurance of YOUR_SEARCH and then n to get to the next one. Use N to move to the previous occurrence.

For the info command, type s to search, then enter your search term or regex. It will bring you to the first occurrence. To move to the next match, type }, to move to the previous occurrence type {.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.