View text file with line number




 external links 

 about me 
  This command show the content of the text file and
with it's following switch it also provide number of each line/row.

 $ cat -n foo.txt 

     1	Hello World
     2	I am here
     3	for the printf() output
     4	echo also do the same
     5  ha Ha just kidding

Designed by SanjuD(@ngineerbabu)