1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Bash Scripting

Connected

Exercise

Extracting scores with shell

There is a file in either the start_dir/first_dir, start_dir/second_dir or start_dir/third_dir directory called soccer_scores.csv. It has columns Year,Winner,Winner Goals for outcomes of a soccer league.

cd into the correct directory and use cat and grep to find who was the winner in 1959. You could also just ls from the top directory if you like!

Instructions

50 XP

Possible answers