I'm sure there used to be an option in less which allowed you to page onto the next file after you reached the end of the current file, so you could just keep *space*ing through a bunch of short files without having to keep :ning to get to the next one.

Could someone remind me what it is?

  • 2
    You might find cat file1 file2 |less or tail -n +1 file1 file2 |less useful. – Gilles Jul 13 '11 at 22:17
  • I second the question to the downvoter. I can guess someone had thought that the -e option was obvious, but looking at the manpage, I can't agree with that. – rozcietrzewiacz Nov 23 '11 at 23:35
  • It's not worth worrying about @rozcietrzewiacz some people do just downvote for no apparent reason. – Mark Booth Nov 24 '11 at 14:28
  • Thanks for the tag correction @Gilles, paging refers to virtual memory. – Mark Booth Nov 24 '11 at 14:30

You might try the -e option.

  • Ah, thanks, so what I remembered was a side effect of the --quit-at-eof option rather than being an option in it's own right. – Mark Booth Jul 13 '11 at 14:32

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.