TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to stop less from waiting for more data?

1 pointsby kuba-orlik12 months ago

1 comment

kuba-orlik12 months ago
Ok so here&#x27;s a linux question that&#x27;s been bugging me for years.<p>I sometimes `less` to display&#x2F;paginate a streaming stdout from another program. When I press `END` key on the keyboard, it brings me to the bottom of the stream, the latest data it has.<p>Then it says &quot;Waiting for data... (^X or interrupt to abort)&quot;<p>I want it to stop waiting for data and let me scroll up as it usually does when it&#x27;s not waiting for data.<p>I&#x27;ve tried pressing Control+X and Control+C, but it just closes less immediately instead of just interrupting the wait for new data.<p>What do I press to make it stop waiting for data, not just close itself?<p>This would particularly useful for browsing `journalctl` output