In shell scripting, a loop that processes each item in a list one by one is known as a _________ loop.

  • for
  • while
  • until
  • foreach
In shell scripting, a loop that processes each item in a list one by one is known as a for loop. The "for" loop allows you to iterate through a list of items, such as files or elements in an array, and perform actions on each item. It's a fundamental construct for automation and scripting tasks.
Add your answer
Loading...

Leave a comment

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