What is the primary keyword to start a loop that will iterate a fixed number of times in shell scripting?
- for
- while
- repeat
- loop
The primary keyword to start a loop that will iterate a fixed number of times in shell scripting is for. The for loop allows you to specify the number of iterations and is commonly used for such purposes.
Loading...
Related Quiz
- After implementing a new SELinux policy, a certain application fails to work. To troubleshoot, you decide to temporarily change SELinux mode. Which mode allows everything but logs violations?
- What is the primary function of kernel modules in Linux?
- While /bin contains essential command binaries, the ________ directory contains non-essential command binaries.
- The ________ command in Linux is used to send a signal to a process, often used for termination.
- The ________ statement in Bash allows for decision-making and executing different blocks of code based on a condition.