Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Related to this question: How can I get file information in 'less' like with 'man'?

Is there a way to ask less to suck in a whole stream to EOF (or at least to some size limit) so that, when it's being used to read from a pipe, it can still give location in the prompt as a percentage?

share|improve this question
up vote 1 down vote accepted

Pass it +G1G so that it scrolls to the end (and loads the stream) and then scrolls back to the beginning.

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.