Terminal Exercises
Help 15 / 25
Loops

Limiting sets of files

What would be the output of running the following loop in the exercise-data/alkanes directory?

for filename in c*
do
    ls $filename
done

How would the output differ from using this command instead (*c* instead of c*):

for filename in *c*
do
    ls $filename
done
Loading...