I’m doing the Learn Command line course and I’m not clear on why you would type “cat < filename.txt” instead of just “cat filename.txt” when it outputs the same thing. It’s step 8 of this project:
It’s redundant in this case, but if we look at the definition:
<takes the standard input from the file on the right and inputs it into the program on the left.
we see it’s not quite the same as just output.
Look at this discussion for more background on what you may do with