1
00:00:00,600 --> 00:00:03,660
In this area, we're going to take a look at this command arguments.

2
00:00:03,870 --> 00:00:08,910
So these are very important because we have seen the user input and previous video.

3
00:00:08,910 --> 00:00:09,260
Right.

4
00:00:09,280 --> 00:00:17,860
So whenever administrator or any user of need not be right at that place to do the input.

5
00:00:18,120 --> 00:00:22,830
So in that way, the administrator gives the command and arguments and ultimately things.

6
00:00:22,860 --> 00:00:29,400
So he will give the command and arguments and put this under under timing.

7
00:00:29,550 --> 00:00:34,020
So it will execute the script, will execute a particular time without any user input.

8
00:00:34,050 --> 00:00:39,150
So in those cases, for automation purposes, commanding arguments are very helpful.

9
00:00:39,880 --> 00:00:47,130
So first, so let me show you this example so that you understand what the coumarin arguments are.

10
00:00:48,660 --> 00:00:55,010
So first, let's say it is equal to, uh, the arguments are scored in this arcs.

11
00:00:55,800 --> 00:00:57,890
So we will discuss the errors later.

12
00:00:57,900 --> 00:01:06,210
But for now, let's assume the data arcs are predefined variable and to show the are the arguments you

13
00:01:06,210 --> 00:01:07,310
have given to the script.

14
00:01:07,350 --> 00:01:15,020
So let's, uh, ARC's will give you the will give you the are the counterarguments to access the first

15
00:01:15,650 --> 00:01:21,500
need to set up square brackets and put the zero because in computer everything starts with zero.

16
00:01:21,510 --> 00:01:30,050
So the Irish try to do so if you want to exit the first agreement to do the RSG for the second element,

17
00:01:30,070 --> 00:01:31,630
need to put the one and so on.

18
00:01:32,400 --> 00:01:37,350
Now I just printed this one, so let's go down on this.

19
00:01:37,590 --> 00:01:43,830
So on this one, you're given a blank because we have not given any comment in advance.

20
00:01:43,830 --> 00:01:49,910
So to do this coming in, I want you to say that because how long will that be one?

21
00:01:50,100 --> 00:01:52,280
And then this is the current argument.

22
00:01:52,350 --> 00:01:53,380
What does it say?

23
00:01:53,400 --> 00:01:53,980
Fifty five.

24
00:01:54,450 --> 00:02:01,200
So this is the coming in at when you have given so in the previous comments we have seen minus, uh,

25
00:02:01,200 --> 00:02:06,960
some option and then we do the name, the service and various calls too.

26
00:02:08,250 --> 00:02:12,780
So these are coming in and you can do this as a.

27
00:02:14,130 --> 00:02:17,220
If you hit enter now this will be the split.

28
00:02:17,940 --> 00:02:23,090
So I'm going to keep it under 55 is going to be disparate which.

29
00:02:26,350 --> 00:02:35,320
So in the same way you can access the second camera in advance, also said is equal to narks of one.

30
00:02:35,560 --> 00:02:38,280
This is the second camera argument.

31
00:02:38,280 --> 00:02:44,170
I know you can operate on this covering when she can be president or something.

32
00:02:44,170 --> 00:02:52,510
And so by default, that's not the type to know what is the type that will be stored as a sting.

33
00:02:52,510 --> 00:02:56,770
And you need to convert this into integer if you want to repeat.

34
00:02:57,340 --> 00:02:59,140
And I'm going to just print this one.

35
00:03:00,280 --> 00:03:04,360
So now if I run, this group will not get anything.

36
00:03:04,660 --> 00:03:07,790
So we just have to wait and.

37
00:03:08,450 --> 00:03:13,240
And as you can see, this is the integer type.

38
00:03:13,240 --> 00:03:23,200
So unnecessary it cristol as it Narmada because it's more than a number of elements, so different data

39
00:03:23,200 --> 00:03:23,480
types.

40
00:03:23,710 --> 00:03:30,780
So this is an integer and we can also print the, uh, type of the second coming out.

41
00:03:31,450 --> 00:03:33,750
And let's go ahead and run this now.

42
00:03:33,760 --> 00:03:34,800
Let's say hi.

43
00:03:36,390 --> 00:03:38,870
As you can see, the first one is Integer and second Onishi.

44
00:03:39,490 --> 00:03:42,850
So in this way, you can access this government arguments.

45
00:03:45,790 --> 00:03:55,930
Now, you can also, uh, say arts that and if you hit a lot, you can see the range of options, uh,

46
00:03:55,970 --> 00:04:00,180
with glassware and the class functions you can see on the counter here.

47
00:04:00,400 --> 00:04:05,560
So it will describe the number of arguments you have answered through the script that said, say this

48
00:04:05,560 --> 00:04:07,750
one and I'm just right.

49
00:04:09,690 --> 00:04:10,830
Counter arguments are.

50
00:04:18,290 --> 00:04:22,010
So now I can display the total number of arguments I've heard on this one.

51
00:04:24,470 --> 00:04:26,930
OK, I did not used this one.

52
00:04:34,460 --> 00:04:38,380
So there is an error, so let's see this one.

53
00:04:42,690 --> 00:04:44,100
Ah, that's right.

54
00:04:53,000 --> 00:05:00,860
All right, now, let's just bring this one, I think we need to assign it to another, OK, that said,

55
00:05:01,250 --> 00:05:01,800
dot com.

56
00:05:02,390 --> 00:05:07,250
So let's go in and execute this one so you can see there are zero arguments.

57
00:05:11,390 --> 00:05:12,650
So there is zero.

58
00:05:20,620 --> 00:05:23,920
So, ah, OK, I'm just I'm this running this song, OK?

59
00:05:23,960 --> 00:05:26,630
I'm so sorry, I just need to run with the camera.

60
00:05:26,680 --> 00:05:32,650
Not so fast unless you have to fight and action is right and the next one is too slow because we are

61
00:05:32,650 --> 00:05:35,390
going to continue to fight and fight.

62
00:05:35,740 --> 00:05:37,840
So these are the common arguments.

63
00:05:38,200 --> 00:05:41,890
You can also get rid of, uh, each coumarin argument.

64
00:05:45,730 --> 00:05:52,780
President Clinton, I think, should get the trade.

65
00:05:58,960 --> 00:06:01,950
OK, we need we need to see your daughter and.

66
00:06:06,650 --> 00:06:17,390
So now we will get the, uh, so we can see the output of the this is one that we showed the number

67
00:06:17,390 --> 00:06:17,960
of boats.

68
00:06:18,560 --> 00:06:22,890
Let's sit down now to discuss the number of the dispute.

69
00:06:23,180 --> 00:06:29,690
You'll get the output as to how that's going to increase this year, although now you'll get it.

70
00:06:29,700 --> 00:06:33,200
So that is the rent of this, uh, second command line argument.

71
00:06:35,180 --> 00:06:38,750
So these are the basics of the coumarin arguments.

72
00:06:39,140 --> 00:06:45,160
So you can also, uh, say there is another function that is Perram function.

73
00:06:46,250 --> 00:06:51,200
So the business would use what we have done is we have created new variable using new variable minus

74
00:06:51,200 --> 00:06:51,470
Neme.

75
00:06:51,480 --> 00:06:54,700
So minus we do say minus and minus value.

76
00:06:54,710 --> 00:06:54,980
Right.

77
00:06:55,340 --> 00:07:01,190
So we need to say this part of the first professional.

78
00:07:04,710 --> 00:07:06,030
Commentator Krishna.

79
00:07:10,920 --> 00:07:18,410
So let me read this one now, I would show you the way, then you will get much more understanding.

80
00:07:19,470 --> 00:07:24,000
So that's, uh, right.

81
00:07:28,870 --> 00:07:36,660
So now what we can say is we can say hello world, and then we can specify the first name here.

82
00:07:37,990 --> 00:07:44,070
As you can see, I have to put the hyphen and it means that the person see is going to show me this.

83
00:07:44,830 --> 00:07:52,150
The methods are the command line variables I want to assign because of the rationale we have given as

84
00:07:52,150 --> 00:07:52,960
a parameters.

85
00:07:53,660 --> 00:07:55,970
That's why it's showing the fashionable right now.

86
00:07:55,970 --> 00:08:04,040
I can take the fashionable and now I can give the value to its site and now I can specify the rational

87
00:08:04,950 --> 00:08:05,460
rationale.

88
00:08:05,920 --> 00:08:11,990
I can sit Nicole and know if I hit enter and we are going to play in this fashion.

89
00:08:13,000 --> 00:08:18,820
So whenever I have given like this, this site will be stored in this fashion available and this is

90
00:08:18,820 --> 00:08:23,850
going to be stored in a large number and then you can access this in the code.

91
00:08:23,860 --> 00:08:25,840
Are you going to do modifications you want?

92
00:08:26,140 --> 00:08:29,480
So this is the better way than the previous one.

93
00:08:30,310 --> 00:08:35,950
So the previous one, we don't know what, uh, which variable is going to be.

94
00:08:36,550 --> 00:08:39,980
So we don't know if I will.

95
00:08:40,020 --> 00:08:41,270
Well, that is great.

96
00:08:41,560 --> 00:08:42,790
So we do not know here.

97
00:08:43,390 --> 00:08:46,250
We do not know in which we are always going to show.

98
00:08:46,420 --> 00:08:52,110
So that makes some confusion when we when another part is going to read your.

99
00:08:52,750 --> 00:08:59,590
So you need to implement this Perram function to define each and uh, uh, current variable, you can

100
00:08:59,600 --> 00:09:07,330
just say so whenever any other dorper, they will get an idea that this is going to be scored in this

101
00:09:07,330 --> 00:09:09,440
fashion and then it is going to be Nolasco.

102
00:09:09,850 --> 00:09:16,570
So I just want to put the damarcus so it's gentle and decent convention.

103
00:09:24,460 --> 00:09:26,920
So let's run this again so I get the same output.

104
00:09:28,630 --> 00:09:35,920
So it's a case in Central, but it is good to follow this, uh, uh, Camil case.

105
00:09:36,310 --> 00:09:42,910
So that search for this video, guys, I hope you be held under normal command line, arguments like

106
00:09:42,940 --> 00:09:46,480
that, uh, with all the options.

107
00:09:46,750 --> 00:09:52,540
So this prime function will, uh, make the way it was at that time.

108
00:09:52,540 --> 00:09:57,420
And then we'll assign according to these values, you can see the first name and last name Nicker.

