Linux Admin - Shell Scripting
Understanding Streams, Redirection, and Write-Host in PowerShell | Scripting Blog
15+ String manipulation examples for Shell scripting
In this tutorial, we are going to talk about shell scripting and how to make your first shell script. They are called shell scripts in general, but we are going to call them Bash scripts because we are going to use Bash among the other Linux shells. In the previous posts, we saw how to use the Bash shell and how to use Linux commands. To run multiple commands in a single step from the shell, you can type them on one line and separate them with semicolons.
In a programming or scripting language, Bash offers several ways to repeat code—a process called looping—where a for loop repeats a certain section of the code. This allows a series of commands to run until a particular condition is met. In this guide, we show you how to write a Bash for Loop.