How to Write Bash WHILE-loops
You can execute a sequence of commands by writing them into a script file and then running the script file. A script file is simply a text file that contains a sequence of instructions that could also be executed from the command line (also know as shell). Usually the extension .sh is used for script files.
Here is an example o
READ Full article