Which of the following examples shows the general structure of a for loop in a shell script?

Which of the following examples shows the general structure of a for loop in a shell script?
A. for *.txt as file => echo $file
B. for *.txt ( echo $i )
C. for file in *.txt do echo $i done
D. for ls *.txt exec {} ;
E. foreach @{file} { echo $i
}

Download Printable PDF. VALID exam to help you PASS.

One thought on “Which of the following examples shows the general structure of a for loop in a shell script?

Leave a Reply

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


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