How to display line numbers in Linux less command output?

You can use less -N or –LINE-NUMBERS option to display a line number at the beginning of each line in the display.

Leave a Reply