display content of file with line numbers in shell script code example Example: how to show lines on cat command bash$ cat -n file.txt