First, you should add all the info from the
courses.csv file since you need the
major_id for inserting the student info.
cat is a terminal command for printing the contents of a file. Here’s an example:
cat <filename>. Below the comment you added, use it to print
cat courses.csvto your
insert_data.shfile below your comment
~/project$ cat courses.csv >> insert_data.sh
Your script should have the suggested command added correctly
Although, I see out file is correctly generated. Not sure what I am missing here, any help here is appreciated. Thanks!
Tried to reset the file multiple times.