Do while infinite loop bash?

1
Mercedes Steuber asked a question: Do while infinite loop bash?
Asked By: Mercedes Steuber
Date created: Fri, Jul 9, 2021 7:25 AM
Date updated: Thu, Jul 21, 2022 5:57 PM

Content

Video answer: How to create infinite^endless loop with bash script in linux

How to create infinite^endless loop with bash script in linux

Top best answers to the question «Do while infinite loop bash»

  • To set an infinite while loop use: Use : command to set an infinite loop: #!/bin/bash # Recommend syntax for setting an infinite while loop while : do echo "Do something; hit [CTRL+C] to stop!" done Use the true command to set an infinite loop: #!/bin/bash while true do echo "Do something; hit [CTRL+C] to stop!"

Video answer: While loop, infinite loop, usage of break & continue

While loop, infinite loop, usage of break & continue

Your Answer

Video answer: Php tutorial: command line scripts [part 03]: infinite loops

Php tutorial: command line scripts [part 03]: infinite loops