Sample Header Ad - 728x90

Is there any way to exit "less" without clearing the screen?

109 votes
5 answers
20366 views
Relatively often, I find myself wanting to quit less but leave what I was viewing on the screen, to refer back to. Is there any way to do this? Workarounds? (My current workaround is to quit, then use more. So any workaround that's better than that is welcomed. The ideal would be something I can use once I'm already inside less, perhaps with a shell setting or some scripting.) My desktop is OSX, but I use RHEL and Ubuntu servers.
Asked by Steve Bennett (2303 rep)
May 14, 2012, 01:36 PM
Last activity: May 13, 2025, 03:01 PM