Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When looking for a certain word or phrase in the man page of linux command, one can type '/' followed by the word/phrase to search for it.

What I'd like to be able to do is to search for the next occurrence of the word/phrase without having to type it out again. Kinda like when you use 'ctrl+f' in a browser to search for a word, and then press 'enter' to find the next occurrence of that word.

If this is possible to do, how do I do it?

share|improve this question

2 Answers 2

up vote 21 down vote accepted

Use n and ShiftN for the next and previous matches.

(The default pager used for manual pages is less, which has similar shortcuts to those in the vim text editor.)

share|improve this answer
less does not start continue in the beginning after it reaches the bottom. To move up, either press Home or P. –  Lekensteyn Jun 29 '11 at 19:07

Type / followed by Enter; an empty regex always means the previous successfully matched regex.

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.