Screen Link:
The first prompt on “Redirecting output with >>” states:
“Append the first row of any of the files in rg_data
to a new file called math_dataset
in your home directory.”
The answer to this prompt is: head -n 1 /home/dq/rg_data/Computers\ &\ Mathematics >>math_dataset
I’d say the prompt is vague and/or incorrect. It should read:
“Append the first row of any of the files in rg_data/Computers\ \&\ Mathematics
to a new file called math_dataset
in your home directory.”
I actually followed the prompt as literally written, and it came back as incorrect.