Answers

Question and Answer:

  Home  Linux Bash Arithmetic Expressions

⟩ How can you come out of the loop in this program? #!/bin/bash read x while [ $x != "hello" ] do echo "Try to come out of the loop" read x done echo "Welcome" exit 0 a) by entering "hello" b) by entering anything except "hello" c) it is not possible d) none of the mentioned

a) by entering "hello"

 207 views

More Questions for you: