Jun 24, 2018Β Β· Stop endless loop .sh script Ask Question Asked 7 years, 5 months ago Modified 7 years, 5 months ago

May 12, 2017Β Β· 6 Your loop is starting an endless number of shells, but one after the other, not in parallel. The first time the loop runs, it runs bash, which starts a new shell and displays the prompt.

Apr 9, 2021Β Β· Also, in while [ true ], the test checks if true is a non-empty string. It obviously is, so this does work in giving an endless loop. But [ false ] would also be always true, so a test like that is …

Recommended for you

πŸ”— Related Articles You Might Like:

Ati Achieve Classroom Skills Quizlet
You may also like