Okay.
Now, let's start with our first batch script.
Now the first thing.
Let's go using the CD.
Let's go to desktop.
Now let's use Touch Command to create a name of the flight as dot as edge.
No, name it.
Whatever you want, but make sure it is that s edge or end with the test edge.
Now you can see in the desktop.
Here it is.
Now we will use them.
Or Nano, whatever you prefer.
As good as edge.
Okay.
Now the first thing we will watch.
Hashtag here.
Shift three and then the exclamation mark.
Shift one, slash bin slash bash this to indicate that this file is a bash script.
Now we will use the E command and put in double quotation.
Hello there.
Just the same as programming language, by the way, by typing shift here, shift three or the hash
tag we can put.
This is our first bash script, by the way.
This is a comment in the last script.
So back to scared button shift W and Q.
So to write and quit now if I type ls command dash l for the s dot edge file to see its permission,
you can see it lack the executable permission.
So for that I will use the C mode command plus x and boot as good as edge OC.
Now clear the screen and s dash l to assert.
As you can see now, it is executable oc now dot slash as s edge.
Now dot here means that we are running this file on the current directory, which is the disk top slash
s dot as edge oc press enter you can see it will print our hello there our text.
Now.
This is just the beginning.
In the next lecture, we will start handling more practical stuff and with examples.