cat - concatenate files and print on the standard output
cat [-n] [-A] [file]...
Options you will use
-n, --number- Number all output lines.
-b- Number non-empty output lines only.
-A, --show-all- Show non-printing characters, $ at line ends and ^I for tabs.
Gotchas
cat file | grep xis a useless use of cat -grep x fileis the same thing with one process fewer. shellcheck SC2002.
Taught in
Try cat in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.