Valid 010-160 Dumps shared by EduDump.com for Helping Passing 010-160 Exam! EduDump.com now offer the newest 010-160 exam dumps, the EduDump.com 010-160 exam questions have been updated and answers have been corrected get the newest EduDump.com 010-160 dumps with Test Engine here:
FILL in BLANK What keyword is used in a shell script to begin a loop? (Specify one keyword only, without any additional information.)
Correct Answer:
for Explanation: The keyword for is used in a shell script to begin a loop that iterates over a list of items or a range of numbers. The syntax of the for loop is as follows: for <var> in <list> do <commands> done The variable <var> is assigned to each element of the <list> in turn, and the <commands> are executed for each iteration. The <list> can be a sequence of words, numbers, filenames, or other values. If the <list> is omitted, the for loop will iterate over the positional parameters ($1, $2, ...). The do and done keywords mark the beginning and the end of the loop body, respectively. The for loop is one of the three types of loops in shell scripting, along with the while and until loops. Reference: 1: Looping Statements | Shell Script - GeeksforGeeks 1 2: unix - Shell script "for" loop syntax - Stack Overflow 2 3: For Loop Shell Scripting - javatpoint 3