9 ms·
You don't have to wait. You can turn that off with '-n'. When you jump to the end of the file ('>' command) you'll see "Calculating line numbers... (interrupt
by toddkaufmann 12y ago
You don't have to wait. You can turn that off with '-n'.
When you jump to the end of the file ('>' command) you'll see
"Calculating line numbers... (interrupt to abort)"
and interrupt (ctrl-C) here will also turn them off.
- agopaul 12y agoI didn't know about the -n switch. Usually I need to get to the bottom of the file and find the last occurrence of a string in the logs (G, CTRL+C to stop counting lines, ?string to search) and the slower part is waiting for less to match a string going backwards on the file. Will check if the -n switch solves the problem