Problem:
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 courses.csv
.
- Add
cat courses.csv
to yourinsert_data.sh
file below your comment
Command/Solution Tried:
~/project$ cat courses.csv >> insert_data.sh
Warning:
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!
Note:
Tried to reset the file multiple times.