nl command

Shell Script To Number Lines Of Files

by Vivek Gite on April 18, 2008 · 10 comments

How do I number each line to a text file? How do I write a shell script to display text file with line numbers added?

{ 10 comments }