Okay, let's try to understand bash shell scripting.
A shell script can be as simple as a number of commands that is sequentially executed.
Don't forget where a shell script is coming from.
It's related to the shell, and the shell is a common command interpreter on Linux.
Bash is the de facto standard shell, and for that reason,
a bash shell script can be as simple as listing a number of commands in an automated way.
Shell scripts often work with variables, and that makes them react differently in different environments.
And that allows you to pick up site-specific information from your shell script.
And to make your shell script a bit more complex, conditional statements such as for and if and case and while can be used.
Shell scripts are common as they are easy to learn and implement.
Also, a shell will always be available to interpret code from shell scripts.
Even in the most minimal Linux distribution that you will ever work with,
there will always be a bin.sh, which is the old-born compatible shell.
So you can always run a shell script.
And if the scripts are using internal commands only, which are commands that are a part of the bash shell,
then they are fast as nothing needs to be loaded from disk.
And there is no need to compile anything in a shell script.
Also, there are no modules to be used in the bash script, which makes them rather static.
And bash shell scripts are not idempotent.
And for that reason, there will always be a place for shell scripts on Linux,
and that is why you need to learn shell scripts.
But there is also a need for more advanced languages, such as Python, for instance.
In the next couple of videos, you are going to learn about the basics of setting up an efficient shell script.
The purpose here is to get you started, not to get in-depth and discuss all the different options that are available,
because even bash shell scripts can be quite advanced.