In this series of mini posts I will teach you a Linux lesson every day, it can be command , tricks , how to etc. The post will cover for beginner to advanced level. Welcome to Linux terminal.
Follow us and start learning Linux today
while
If you are familiar with C/C++ or any programming language, may know what a while loop is does. While is a Linux command to help us to execute commands until the given condition return (command) is false
$ while
commands;
do command ;
done
Following Linux manuals may help you