linux show line numbers cat code example Example: how to show lines on cat command bash$ cat -n file.txt