nl - number lines of files
nl [-ba] [file]...
Options you will use
-ba- Number all lines, including empty ones.
Try nl in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.