Could less show the viewed proportion of text file?
Fresh3 days ago
Mar 15, 20268960 viewsConfidence Score0%
0%
Problem
As the title implies, when I am browsing text file,I would like to know the current viewed porportion of the whole text file. I know that with -N option,we could turn on the line numbers,but how could I make less display the line number of the whole text file? thanks.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Could less show the viewed proportion of text file?
Low Risk
If you open a file with less then pressing Ctrl-g will display the current line number, total lines and percentage as well as shown below: lines 51-100/185 byte 3228/5886 54% (press RETURN)
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix