Categories
Linux Tutorial Series

Linux Tutorial Series – 192 – while and until loops

Here is the video version, if you prefer it:

while and until loops are used for iteration, the same as for loops. However, I won’t teach you these. Why? Because, as (Ward, 2014)⁠ says, if you ever need a while loop (or an until loop), it’s a good time to move to another programming language. I agree.

I will tell you that (“Bash While Loop Examples,” n.d.)⁠ and a Google search will teach you, if you really must use them. But again, I will repeat myself: If you need to use a while or an until loop, switch to another programming language.

Thank you for reading!

References

Bash While Loop Examples. (n.d.). Retrieved February 22, 2020, from https://www.cyberciti.biz/faq/bash-while-loop/

Ward, B. (2014). How Linux Works: What Every Superuser Should Know (2nd ed.). No Starch Press. Pages 262-263

NewsletterUpdates on interesting things I am doing

Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.

Leave a Reply

Your email address will not be published. Required fields are marked *