View text file with line number

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




Designed by SanjuD(@ngineerbabu)