💻 Software
"less" (linux) get/go-to X offset in file
Fresh7 days ago
Mar 15, 202615047 viewsConfidence Score0%
0%
Problem
I open a big file with this command: less +G /var/log/blah/file.log Now when I find the desired info I'd like to know its exact offset in this file, so later I can open that file again and return to that exact place. So there is the "%X" command which will take me to % inside the file, in offset te…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: "less" (linux) get/go-to X offset in file
Low Risk
Got part of my question from here: 100g to go to the 100th line 50p to go to 50% into the file 100P to go to the line containing 100th byte To determine the current line number or byte offset, use Ctrl+g.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix