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.
Loading...
Related Quiz
- When a process is neither in 'running' nor in 'blocked' state, which state might it be in?
- The primary configuration file for setting up static routes on a Linux system is ________.
- Which tool is commonly used to manage btrfs file systems?
- The sudo command reads configurations from _________ to determine user privileges.
- What is the primary purpose of a VPN in a Linux environment?