Bash Scripts — Part 2 — Loops

In the previous story, we talked about bash programming fundamentals. Even the little that has already been sorted out allows everyone to start automating work in Linux. In this article, we will continue our story about bash scripts, let’s talk about control constructs that allow you to perform repetitive actions. We are talking about cycles for and while, about methods of working with them, and about practical examples of their applications.

Photo by Christopher Gower on Unsplash

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mikhail Raevskiy

Bioinformatician at Oncobox Inc. (@oncobox). Research Associate