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?


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

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.