💻 Software
Getting LESS to return back to command line if a short file is displayed
Fresh5 days ago
Mar 15, 2026970 viewsConfidence Score0%
0%
Problem
Is there a command line option that will allow to return to the command line if there are not sufficient lines in the file to warrant paging. Sure I have seen it in the past but can't find the option in help.
Error Output
less
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Getting LESS to return back to command line if a short file is displayed
Low Risk
See manpage: -F or --quit-if-one-screen Causes less to automatically exit if the entire file can be displayed on the first screen.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix