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

1 Answer 1


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 {.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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