In this area, we're going to take a look at this command arguments.
So these are very important because we have seen the user input and previous video.
Right.
So whenever administrator or any user of need not be right at that place to do the input.
So in that way, the administrator gives the command and arguments and ultimately things.
So he will give the command and arguments and put this under under timing.
So it will execute the script, will execute a particular time without any user input.
So in those cases, for automation purposes, commanding arguments are very helpful.
So first, so let me show you this example so that you understand what the coumarin arguments are.
So first, let's say it is equal to, uh, the arguments are scored in this arcs.
So we will discuss the errors later.
But for now, let's assume the data arcs are predefined variable and to show the are the arguments you
have given to the script.
So let's, uh, ARC's will give you the will give you the are the counterarguments to access the first
need to set up square brackets and put the zero because in computer everything starts with zero.
So the Irish try to do so if you want to exit the first agreement to do the RSG for the second element,
need to put the one and so on.
Now I just printed this one, so let's go down on this.
So on this one, you're given a blank because we have not given any comment in advance.
So to do this coming in, I want you to say that because how long will that be one?
And then this is the current argument.
What does it say?
Fifty five.
So this is the coming in at when you have given so in the previous comments we have seen minus, uh,
some option and then we do the name, the service and various calls too.
So these are coming in and you can do this as a.
If you hit enter now this will be the split.
So I'm going to keep it under 55 is going to be disparate which.
So in the same way you can access the second camera in advance, also said is equal to narks of one.
This is the second camera argument.
I know you can operate on this covering when she can be president or something.
And so by default, that's not the type to know what is the type that will be stored as a sting.
And you need to convert this into integer if you want to repeat.
And I'm going to just print this one.
So now if I run, this group will not get anything.
So we just have to wait and.
And as you can see, this is the integer type.
So unnecessary it cristol as it Narmada because it's more than a number of elements, so different data
types.
So this is an integer and we can also print the, uh, type of the second coming out.
And let's go ahead and run this now.
Let's say hi.
As you can see, the first one is Integer and second Onishi.
So in this way, you can access this government arguments.
Now, you can also, uh, say arts that and if you hit a lot, you can see the range of options, uh,
with glassware and the class functions you can see on the counter here.
So it will describe the number of arguments you have answered through the script that said, say this
one and I'm just right.
Counter arguments are.
So now I can display the total number of arguments I've heard on this one.
OK, I did not used this one.
So there is an error, so let's see this one.
Ah, that's right.
All right, now, let's just bring this one, I think we need to assign it to another, OK, that said,
dot com.
So let's go in and execute this one so you can see there are zero arguments.
So there is zero.
So, ah, OK, I'm just I'm this running this song, OK?
I'm so sorry, I just need to run with the camera.
Not so fast unless you have to fight and action is right and the next one is too slow because we are
going to continue to fight and fight.
So these are the common arguments.
You can also get rid of, uh, each coumarin argument.
President Clinton, I think, should get the trade.
OK, we need we need to see your daughter and.
So now we will get the, uh, so we can see the output of the this is one that we showed the number
of boats.
Let's sit down now to discuss the number of the dispute.
You'll get the output as to how that's going to increase this year, although now you'll get it.
So that is the rent of this, uh, second command line argument.
So these are the basics of the coumarin arguments.
So you can also, uh, say there is another function that is Perram function.
So the business would use what we have done is we have created new variable using new variable minus
Neme.
So minus we do say minus and minus value.
Right.
So we need to say this part of the first professional.
Commentator Krishna.
So let me read this one now, I would show you the way, then you will get much more understanding.
So that's, uh, right.
So now what we can say is we can say hello world, and then we can specify the first name here.
As you can see, I have to put the hyphen and it means that the person see is going to show me this.
The methods are the command line variables I want to assign because of the rationale we have given as
a parameters.
That's why it's showing the fashionable right now.
I can take the fashionable and now I can give the value to its site and now I can specify the rational
rationale.
I can sit Nicole and know if I hit enter and we are going to play in this fashion.
So whenever I have given like this, this site will be stored in this fashion available and this is
going to be stored in a large number and then you can access this in the code.
Are you going to do modifications you want?
So this is the better way than the previous one.
So the previous one, we don't know what, uh, which variable is going to be.
So we don't know if I will.
Well, that is great.
So we do not know here.
We do not know in which we are always going to show.
So that makes some confusion when we when another part is going to read your.
So you need to implement this Perram function to define each and uh, uh, current variable, you can
just say so whenever any other dorper, they will get an idea that this is going to be scored in this
fashion and then it is going to be Nolasco.
So I just want to put the damarcus so it's gentle and decent convention.
So let's run this again so I get the same output.
So it's a case in Central, but it is good to follow this, uh, uh, Camil case.
So that search for this video, guys, I hope you be held under normal command line, arguments like
that, uh, with all the options.
So this prime function will, uh, make the way it was at that time.
And then we'll assign according to these values, you can see the first name and last name Nicker.