Screen Link: Learn data science with Python and R projects
My Code:
head -n 1 /home/dq/rg_data/* >>math_dataset
grep -hi ',Math' /home/dq/rg_data/* >>math_dataset
What I expected to happen:
Nice work
What actually happened:
Nothing happen
i see the answer is:
head -n 1 /home/dq/rg_data/Computers\ \&\ Mathematics >>math_dataset
grep -hi ',Math' /home/dq/rg_data/* >>math_dataset
why it needs to indicate in files Computers & Mathematics? the question said " 1. Append the first row of any of the files in rg_data
to a new file called math_dataset
in your home directory."