Free CompTIA Linux+ XK0-005 Practice Question

What type of loop would be most appropriate for reading lines from a text file until reaching the end of the file in a shell script?

  • while

  • until

  • for

  • switch/case

This question's topic:
CompTIA Linux+ XK0-005 / 
Scripting, Containers, and Automation
Your Score:

Check or uncheck an objective to set which questions you will receive.

SAVE $45