On *NIX systems, by far the easiest way would be the program called `nl`, which is part of the GNU coreutils. And for those interested, see the documentation.
Then of course nearly every GNU tool has the abillity to display line numbers, for example with `grep` and `cat` you could use the "-n" parameter to toggle the display of file numbers.
In reply to Re: Display Line Numbers
by b10m
in thread Display Line Numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |