Turn off counting line numbers in less command

6.6k Views Asked by At

In openSUSE 12.2, the less command counts line numbers when the file is opened. This causes a lot of delays when working with huge files. Is there a way to disable this option?

1

There are 1 best solutions below

2
On

My less (cygwin) has a -n option to suppress that default behavior. Equivalent to the long version --line-numbers. Do man less to see your less's options.