Hello everyone.
And once again welcome to the basic shell scripting section.
OK.
So this is the section we're actually going to get into creating shell scripts the basics so scripts.
How we could create jobs how we could run simple Eco's scripts or how we could use input and output
off our statements to work with the shell scripts.
So what are we going to cover in this section.
So let's take a quick look first.
We'll start by creating our first script.
Yes.
So this is the fun part guys.
OK.
First shellscript you probably have written many shellscript as well.
And the basic one it might be like you know like ABC for you but that's OK we'll start with.
Always start with ABC.
So we'll learn how we could create our first group how we can execute and permissions stuff like that
then we'll create a second script where we will run that basic task based on our regular commands we
will run our basic tasks followed by the basic administration task administration task Bardos like if
you are checking a disk space or memory and how can we put that in a script that will do all that automated
for us.
And that fun that you don't have to log in any any more and then run those tedious commands every day
to check your system and see how it is doing.
We'll cover that and less.
OK then we'll covered the defining variables you guys know already about the variables right.
How can we define variables in the script and actually use that input and output when you run a script.
It will ask you a question and based on your answer how is going to respond.
Those type of question now how does it work in a real life.
Well if you notice when you run a script in Windows or even Linux and you're installing a package or
something.
Ill ask you question right do you want to go ahead and continue you click why it says yes based on your
input it does certain functions.
That is about input output.
Then you'll have conditioned statements.
This is where it gets a little complicated but don't worry.
I am with you.
That's why I'm starting with basic.
It's just like as if you are let's say going to a war and you are in the military.
The first thing they do is they actually train you.
So this is the whole thing is about training.
I wanted to start from scratch.
So you know everything inside out then will have some additional conditional statement of it for the
case statement.
And then for loops statement why do we need four loop statements.
What are the advantages offered.
Do While scripts will also cover the do was corrupt and the last one is getting online help what does
it mean getting online help.
Now let me tell you this I'm not like I don't know every scripting commands.
I don't know every scripting variables inside a script so some time I also go online and find help.
So I want you to also utilize that same technique to go online and look for Pacifics scripts that can
help you achieve your goal.
So how can we get those online help.
I'll explain it to you.
So sit tight.
Let's start or start.
What are creating first grip.