nl

nl#

Number lines in a file.

$ nl file
$ nl -ba file