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!
Este exercício faz parte do curso
Introduction to Bash Scripting
Exercício interativo prático
Transforme a teoria em ação com um de nossos exercícios interativos
