1.

Which of the following keywords are used in while loop?(a) do(b) done(c) then(d) do and doneThe question was asked in quiz.Question is from Shell Programming using Various Commands in portion Essential Shell Programming of Unix

Answer» CORRECT ANSWER is (d) do and done

Explanation: while LOOP repeatedly PERFORMS a set of instructions until the CONTROL command returns a true exit status. The general syntax for while loop is:


Discussion

No Comment Found

Related InterviewSolutions