What does the following shell command do?

What does the following shell command do?
for 1 in c*; do
file $i
done
A. Runs the file command against each file in the current directory ending with the letter "c"
B. Runs the file command against each file in the current directory that begins with the letter "c"
C. Runs the file command against only the first file in the current directory that begins with the letter "c"
D. Runs the file command against each file in the current file system that begins with the letter "c"

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.