This is in reference to the lesson Redirecting Input and Output.
After completing all the lessons and taking notes, with the notes in front of me I seem to continually run into the same issue so I feel I must not be understanding the lesson.
The ‘echo’ command is only discussed briefly in the leaders to the practical lesson. It is not used in the practical lesson (only cat is used), so I found it difficult to choose the correct responses on the quiz where ‘echo’ is used. My understanding is now that echo references contents of a string and cat references the contents of a file. Is this correct?
In the practical lesson, the command “sort greatest.txt” displays the contents of a file alphabetically. However, the quiz asks for a different string: ‘cat greatest.txt | sort’. This format was not used in the lesson; why does the lesson use the quiz to expose me to a different format?
The “head” (and “tail”) command is used in the practical, but never defined. It confounded me why I would be using this command but then need to look up its definition in a separate platform. Though I understand I must have an appreciation for being exposed to many concepts within the lesson, I also felt there was a certain element of uselessness and distraction to have a command tossed in there that lacked any definition or context.