A Quick Bash Tip: View File Contents With The Line NumbersAug 14, 2018 · by Tim Kamanin
Bash tip I've just discovered:
Next time when you do
cat command to view file contents, pass the
-n parameter and you'll see file source with the line numbers!
cat -n file.whatever