Is there an automatic way (through command line params for example) of keep searching from start of text when the end is reached?

(same as Notepad++ - Continue Search from top but with less linux command instead of Notepad++)


I don't believe there is a way to do this automatically, but if you're doing incremental searches with just the single keystroke


anyway, then when you get to the end of the file just press


to go back to the top and continue searching incrementally with

  • Thats what I'm doing, but I was looking for an automatic way – Pau Fracés Sep 6 '13 at 13:32
  • 1
    According to man page, there isn't one. All you have is \ and ? and nand N – mveroone Sep 6 '13 at 13:43

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.