$ grep -n ^ /path/to/file | less
Nov. 9, 2011, 11:05 p.m.
—
Janos
Explanation
grep ^
will match all lines in a file
grep -n
will prefix each line of output with the line number within its input file
Limitations
In some systems you might have to use egrep
instead of grep
.