1
00:00:00,600 --> 00:00:08,100
So, listen, previously we had taken we took a look at the basic Janek's comments in this video, we'll

2
00:00:08,100 --> 00:00:11,240
be learning some more comments.

3
00:00:12,210 --> 00:00:14,220
So without any delay, let's get started.

4
00:00:15,840 --> 00:00:19,350
So I have written all the comments I want to take in this video.

5
00:00:19,350 --> 00:00:29,110
And the first thing I want to tell is there are three streams like LTT in which stands for Standard

6
00:00:29,110 --> 00:00:35,550
Input, a studio, which means standard output to the air, which means standard error.

7
00:00:36,000 --> 00:00:39,150
So this is input and a Russian.

8
00:00:40,870 --> 00:00:49,420
What this actually does is it points to the our people, so generally we do the input to any application

9
00:00:49,420 --> 00:00:50,070
via cable.

10
00:00:50,090 --> 00:00:50,360
Right.

11
00:00:50,620 --> 00:00:54,540
And this student points to the keyboard.

12
00:00:55,420 --> 00:01:01,240
And this indicates that we are considering the input as a.

13
00:01:03,640 --> 00:01:12,010
Input into the application, so you can think this as a file handler or file descriptor, which points

14
00:01:12,010 --> 00:01:20,340
to the our keyboard data, so if we if I type Nikil now in my keyboard, then actually technical.

15
00:01:22,850 --> 00:01:31,280
The standard output is represented by one, and if you use this, you don't want to in your comments,

16
00:01:31,610 --> 00:01:38,840
then automatically the shuttle understands that you are going to ask the content of standard output,

17
00:01:38,840 --> 00:01:40,660
of standard input, our standard error.

18
00:01:41,120 --> 00:01:45,740
So the standard output points to the our screen desktop screen.

19
00:01:46,310 --> 00:01:55,040
So if I paperny command, I look at the output and that or put these points to be pointed by this file

20
00:01:55,040 --> 00:01:55,860
descriptor one.

21
00:01:57,380 --> 00:02:05,810
And sometimes I get error because there is no command or there is no file, or if I get I can get so

22
00:02:05,810 --> 00:02:11,800
many errors and that errors are appointed by the file descriptor two, which is standard error.

23
00:02:12,800 --> 00:02:15,220
There is much confusion in standard output.

24
00:02:15,340 --> 00:02:20,460
And don't worry, we'll discuss about these three in this scenario.

25
00:02:20,510 --> 00:02:21,730
So let's get started.

26
00:02:23,180 --> 00:02:27,770
As in previous review, I have said that let's call high.

27
00:02:28,670 --> 00:02:33,260
And what I have done is I have said this greater than as a redirection operator.

28
00:02:33,830 --> 00:02:38,350
It redirects output into the text, but it's.

29
00:02:40,750 --> 00:02:45,280
Let's not be a unless.

30
00:02:46,680 --> 00:02:49,640
So can I do more than another sample that is different?

31
00:02:51,510 --> 00:02:55,950
So if I get lucky that I get the cadence of rock that the.

32
00:02:58,310 --> 00:03:04,410
Which is high because the output of this government has been taken to the effect.

33
00:03:05,540 --> 00:03:17,060
OK, that's not what I want to do, is I want to send the release of this command into the context of

34
00:03:17,060 --> 00:03:17,190
it.

35
00:03:17,450 --> 00:03:22,590
Now, what I can do is I can just put it before the great advanceable.

36
00:03:23,450 --> 00:03:27,430
So what this means, I'm allergic to this comment.

37
00:03:27,440 --> 00:03:30,830
And if there are any errors in executing this common.

38
00:03:31,690 --> 00:03:35,000
I want to send that address into the property.

39
00:03:35,860 --> 00:03:43,400
So that is too great a direct address to the relatives to know if I hit enter.

40
00:03:44,840 --> 00:03:46,960
OK, there is no output, right?

41
00:03:47,020 --> 00:03:48,210
Said Cataloger.

42
00:03:49,900 --> 00:03:54,940
And as you can see, since there are no output, I had got this, too.

43
00:03:55,630 --> 00:03:58,720
OK, now let's see a error message.

44
00:03:59,440 --> 00:04:01,180
So there is no Nicole coming, right?

45
00:04:02,230 --> 00:04:04,720
Obviously there is no Nicole Kidman in next.

46
00:04:05,410 --> 00:04:12,540
So if I hit enter, it says that Nicole Kidman not form right now.

47
00:04:12,550 --> 00:04:20,340
What I want to do is I will all put our reader to this, to tactics to fight.

48
00:04:22,150 --> 00:04:30,340
So even when I read it to the people that I had got some output saying that coming out for because this

49
00:04:30,340 --> 00:04:34,660
is not an output, this is the error error message, standard error message.

50
00:04:34,990 --> 00:04:46,540
If I said get up, I get and I had no confidence in my taste of it because there is blank output and

51
00:04:46,540 --> 00:04:52,540
that blank output has been stored in the last door and all the contents of this text file has been all

52
00:04:52,540 --> 00:04:52,930
written.

53
00:04:54,320 --> 00:04:57,140
So one way to store this is.

54
00:04:58,490 --> 00:05:08,330
Using that the standard error descriptor for like that, then if I could enter, OK, there is nothing

55
00:05:08,330 --> 00:05:15,860
displayed because our error has been related to the larger picture for catalog.

56
00:05:18,020 --> 00:05:21,960
Know I have got the contents command, not form.

57
00:05:22,250 --> 00:05:29,780
So this is my arithmetic and error message has been scored in the wrong five percent.

58
00:05:29,780 --> 00:05:32,320
Nicoleta, I send it to cover.

59
00:05:32,390 --> 00:05:34,020
There is also no legal document.

60
00:05:34,370 --> 00:05:45,990
What I want to do is I want to open this address to the president and I see a contractor and my second

61
00:05:46,010 --> 00:05:53,390
error has been generated because there is no nikil to command the systems and that error message has

62
00:05:53,390 --> 00:05:57,020
been appended to make it so previously.

63
00:05:57,020 --> 00:06:04,270
There is an governor for and know the contractor failure to command, not one.

64
00:06:04,320 --> 00:06:10,550
So in this way, we can simply generate the error messages and store them in Rockford.

65
00:06:13,500 --> 00:06:23,110
OK, now let's remove that no, what if I want to store both output and error in a text file?

66
00:06:23,940 --> 00:06:27,600
So what you want to do is say a call.

67
00:06:29,610 --> 00:06:30,570
Arcore, hello.

68
00:06:32,410 --> 00:06:42,610
First, you need to send the output to the rock, rock, rock.

69
00:06:43,510 --> 00:06:46,480
And afterwards, you need to do this.

70
00:06:46,840 --> 00:06:53,850
You need to set the standard for this quarter and you need to return to the ampersand one.

71
00:06:54,250 --> 00:06:55,560
See this ampersand one.

72
00:06:55,570 --> 00:06:57,510
That is the output file descriptor.

73
00:06:57,760 --> 00:07:00,490
That means the path to the output.

74
00:07:00,640 --> 00:07:03,790
Where is the path to where the output is going?

75
00:07:04,660 --> 00:07:08,160
So in our case, the output is going into the rock next fall.

76
00:07:08,560 --> 00:07:17,680
And what I have done is I have said that I need my error messages to go in to the part where the output

77
00:07:17,680 --> 00:07:18,160
is going.

78
00:07:18,160 --> 00:07:21,040
So output is going into the lock that takes effect.

79
00:07:21,640 --> 00:07:28,520
So after this command execution, my output of discovery will return control of the text file.

80
00:07:28,780 --> 00:07:37,750
And if there are any error messages, those messages will also be buried in the rock, that 95 percent.

81
00:07:38,200 --> 00:07:42,660
So there is no way to get a text file.

82
00:07:42,670 --> 00:07:46,270
And I can say hello because there is no error messages.

83
00:07:46,780 --> 00:07:51,260
I have got nothing in this text file.

84
00:07:51,490 --> 00:07:54,070
I have got only the output, which is alcohol.

85
00:07:55,720 --> 00:08:05,740
OK, now I want to tell you one more comment, that is final comment, so how you have in previous video

86
00:08:05,740 --> 00:08:11,770
we had, take a look at how to find the comments using a look at comment if you pass it and filename,

87
00:08:12,770 --> 00:08:15,470
we got the part of that folder.

88
00:08:15,520 --> 00:08:20,170
So this fine also finds the part of the given file now.

89
00:08:20,560 --> 00:08:22,300
But the syntax is very different.

90
00:08:24,040 --> 00:08:29,470
What I want to do is find the space and the directory I want to search for.

91
00:08:29,470 --> 00:08:31,060
I want to search my whole computer.

92
00:08:31,060 --> 00:08:32,210
I just slash.

93
00:08:34,000 --> 00:08:42,930
And I want to share a tape, I want to search for you minus type F stands for search for the fire tape

94
00:08:43,360 --> 00:08:45,410
if that means I want to search for flight.

95
00:08:45,460 --> 00:08:46,510
Not ready for that.

96
00:08:46,870 --> 00:08:50,740
And I want to see the name and the name of the file.

97
00:08:50,740 --> 00:08:55,390
I want to search, but not if I can.

98
00:08:56,530 --> 00:09:03,850
OK, I stopped this using the Conservative Party, so there are so much finding going on.

99
00:09:06,170 --> 00:09:15,120
OK, if I go to these are you you can see the find the organization and this permission because we are

100
00:09:15,280 --> 00:09:22,840
normal user and we are finding the file in somebody's trees which are which we do not have access.

101
00:09:22,840 --> 00:09:24,400
That's why we got the permission to it.

102
00:09:24,670 --> 00:09:28,360
So these are these are our error messages.

103
00:09:28,690 --> 00:09:35,440
So one way to get rid of these rumors is I want to say to which is the standard bearer for this.

104
00:09:35,830 --> 00:09:38,580
I want to reiterate to the owner.

105
00:09:39,880 --> 00:09:43,080
So this is a black hole.

106
00:09:43,930 --> 00:09:52,870
So whatever contents we pass to this that they are not automatically within seconds, those contents

107
00:09:52,870 --> 00:09:53,690
will get deleted.

108
00:09:54,910 --> 00:09:56,100
So it's a black hole.

109
00:09:56,110 --> 00:09:57,970
You can just throw in anything.

110
00:09:57,970 --> 00:10:00,460
Some bits of that are gigabytes of data.

111
00:10:00,820 --> 00:10:10,090
It just disappears because the background script for this bill and if any contents are in this, do

112
00:10:10,090 --> 00:10:13,850
not treat those contents will get automatically deleted.

113
00:10:14,530 --> 00:10:21,310
OK, now what we want to do is we are going to find from the rubber tree and the tape, I want to find

114
00:10:21,310 --> 00:10:25,170
this file to file and the name of the file is wrong.

115
00:10:25,810 --> 00:10:26,740
And I want that room.

116
00:10:26,750 --> 00:10:29,260
I say just go to this day, which is a black hole.

117
00:10:29,540 --> 00:10:29,870
I know.

118
00:10:29,890 --> 00:10:30,700
If I had under.

119
00:10:35,070 --> 00:10:44,400
So we have got this whole Nikitas and we did not get this large error, all because of the error has

120
00:10:44,400 --> 00:10:45,870
been redirected to the.

121
00:10:48,190 --> 00:10:55,300
So I want to see, since we got the, ah, Putin home, Nicky desktop rotblat.

122
00:10:58,540 --> 00:11:01,630
This is one way to get rid of just.

123
00:11:04,140 --> 00:11:13,300
So let me clear the screen, so I hope you have got understood, my father said less character.

124
00:11:16,000 --> 00:11:16,480
Sorry.

125
00:11:20,060 --> 00:11:28,940
There is also another way to append both output and error is we want to see a.

126
00:11:29,930 --> 00:11:41,120
Hi, and what do you want to do is greater than the this are the first glimpse into this beautiful cat?

127
00:11:43,880 --> 00:11:48,680
I have the height and the hello is the previous contents of the file.

128
00:11:48,680 --> 00:11:57,110
And those contents have been all written that this is all you need to know about these new directions

129
00:11:57,110 --> 00:11:59,390
and input output analysis.

130
00:12:00,500 --> 00:12:04,040
No, I want to say the pipe comment.

131
00:12:04,160 --> 00:12:06,380
I hope that this pipeline in the previous year.

132
00:12:06,410 --> 00:12:08,130
But again, this is very important.

133
00:12:09,080 --> 00:12:11,810
Let's, uh, let's let's see.

134
00:12:14,000 --> 00:12:16,120
This is a file which is located government system.

135
00:12:16,430 --> 00:12:18,730
I want to the paper to edit it less.

136
00:12:20,370 --> 00:12:28,110
Now, the contents are the output of this command will be taken as important, this command less.

137
00:12:34,380 --> 00:12:39,570
So, OK, I think we do not have the access.

138
00:12:42,280 --> 00:12:42,840
OK.

139
00:12:44,650 --> 00:12:52,330
We can pipe this into a less minor cell to long list everything, and if I put this into this, OK,

140
00:12:52,330 --> 00:12:53,710
I have only one file.

141
00:12:53,900 --> 00:12:58,030
If I have so many files, I can just scroll through these files.

142
00:13:00,970 --> 00:13:09,700
So remember, this Bible is very important and will be using despite a lot of times and then we'll be

143
00:13:09,700 --> 00:13:11,020
discussing this Speakman.

144
00:13:12,650 --> 00:13:16,670
So if I take Petridis, I will get the contents of the directory.

145
00:13:18,350 --> 00:13:19,700
It is tasteful.

146
00:13:20,420 --> 00:13:26,690
So what if I want to see you and at the same time, I want to story to the.

147
00:13:28,620 --> 00:13:35,380
So for that purpose, I can say to help out that.

148
00:13:36,720 --> 00:13:44,030
So what this actually document does is it will print the output of this comment and also schools that

149
00:13:44,250 --> 00:13:47,520
are put into the text file or any other.

150
00:13:50,140 --> 00:13:59,110
So I have got the whole property external, so as you can see, the first Teckman will generate output

151
00:14:00,250 --> 00:14:10,750
and then this comment that said, you know, if I get output, that I have got the same output stored

152
00:14:10,750 --> 00:14:11,400
in the output.

153
00:14:12,820 --> 00:14:21,160
So the first output that has been generated and then this one has been executed and the output of this

154
00:14:21,160 --> 00:14:23,030
comment has been stored in this file.

155
00:14:24,220 --> 00:14:25,930
So I think you have understood this.

156
00:14:26,770 --> 00:14:30,350
And the next come you are going to see come in.

157
00:14:30,890 --> 00:14:34,330
So I unless I get the wrong listing of these two files.

158
00:14:34,570 --> 00:14:36,910
So don't worry about all this output.

159
00:14:36,910 --> 00:14:40,750
I would explain in a separate video in the file permissions.

160
00:14:43,960 --> 00:14:51,730
So let me get to know I had the condensers high.

161
00:14:54,410 --> 00:14:56,270
Now I want to papercut.

162
00:14:58,080 --> 00:15:02,620
And what I want to say is cut minus one.

163
00:15:02,760 --> 00:15:08,310
So this command will just cut everything after the.

164
00:15:09,840 --> 00:15:13,080
Or it just prints on exactly the character.

165
00:15:13,890 --> 00:15:23,790
So my old world will be hit and if I said to the second character that I'll put up, so if I say three,

166
00:15:23,790 --> 00:15:31,760
I get so using the comment, we can access only particular byte of data.

167
00:15:32,940 --> 00:15:38,990
And if I see one two, I get the from one to two index.

168
00:15:39,150 --> 00:15:42,360
So that is why this is the first quarter and this is the second character.

169
00:15:44,190 --> 00:15:51,390
OK, now we can separate this text file as according to some fields.

170
00:15:51,540 --> 00:15:54,450
Now if I say you have one, I get the height.

171
00:15:55,020 --> 00:15:57,750
So basically this option.

172
00:15:58,760 --> 00:16:06,050
That is that we need to divide the output as particular, have special exploit.

173
00:16:06,410 --> 00:16:12,390
So if I say I have hollow world, then the fast food will be high and the second food will be hollow.

174
00:16:13,810 --> 00:16:16,070
OK, I think you got confused.

175
00:16:16,100 --> 00:16:17,780
OK, now let me explain this.

176
00:16:18,440 --> 00:16:23,510
So we have got this last command and the first one says the total and the second line says that this

177
00:16:24,140 --> 00:16:30,710
song Sunfire permissions and the total and also one which is now what I want to do is I want to separate

178
00:16:30,710 --> 00:16:34,470
all these columns according to this piece.

179
00:16:34,910 --> 00:16:43,160
So what I want to get is this total these are the first elements in these columns should be as first

180
00:16:43,160 --> 00:16:43,460
filled.

181
00:16:43,580 --> 00:16:47,930
And the are the second columns will be a second field and the third columns are stored.

182
00:16:48,830 --> 00:16:58,570
So to get that, we need to use another option in the comment that is minus B, so D stands for Delimiter.

183
00:16:58,850 --> 00:17:00,140
No, I want the suspense.

184
00:17:00,590 --> 00:17:07,200
So what this Delimiter is doing is it will cut this output according to the space.

185
00:17:07,220 --> 00:17:13,720
So there is a space between total and so again, for the total is one field and eight is one field.

186
00:17:14,750 --> 00:17:18,170
And in the same way there are so many spaces in between this.

187
00:17:18,470 --> 00:17:28,040
So this permeation, these contents are one field and this one is one field and this Nickie's one field

188
00:17:28,340 --> 00:17:30,080
and this Nickie's another field.

189
00:17:30,650 --> 00:17:30,990
Right.

190
00:17:31,310 --> 00:17:39,920
Based upon the space command will do it, but it's going to come and doit's are the output into some

191
00:17:39,920 --> 00:17:40,410
fields.

192
00:17:40,760 --> 00:17:44,120
Now if I want to access the first field, I say you of one.

193
00:17:45,550 --> 00:17:53,500
So as you can see from here, I got only Fosterville because the Delimiter space and it has donated

194
00:17:53,650 --> 00:17:57,060
the contents according to this space.

195
00:17:57,610 --> 00:18:00,960
So the first column or the first to feel is total.

196
00:18:00,970 --> 00:18:05,800
And this one and this one, I say you have to get the eight one one.

197
00:18:06,160 --> 00:18:09,780
So because that is the second column, you need to write it.

198
00:18:10,180 --> 00:18:17,080
And if I say you have three, I get the null and the kikki because there is no third column or character

199
00:18:17,080 --> 00:18:18,950
in the factually right.

200
00:18:18,970 --> 00:18:22,480
If I say have three, I get the null, which is not.

201
00:18:22,480 --> 00:18:26,400
And Nicky and Nicky, I say five.

202
00:18:26,410 --> 00:18:28,600
I get that 390.

203
00:18:30,940 --> 00:18:40,120
OK, I think there is some more space between that audit has been considered as if it has directly it

204
00:18:40,120 --> 00:18:41,170
might get printed.

205
00:18:41,230 --> 00:18:43,260
OK, that's horrible.

206
00:18:43,300 --> 00:18:44,340
This could come in.

207
00:18:45,100 --> 00:18:47,290
You can cut according to the delimiter.

208
00:18:49,180 --> 00:18:59,290
And there is another command card had been there, so let's, uh, let's now I want to create a new

209
00:18:59,290 --> 00:18:59,620
file.

210
00:19:09,230 --> 00:19:12,470
Well, could frustrate me, see the contents of the.

211
00:19:16,670 --> 00:19:18,140
So there is only one line, right?

212
00:19:18,980 --> 00:19:25,960
So now what I want to do is I'll write some more lines of condensed and edited for clarity for a call.

213
00:19:27,980 --> 00:19:28,550
Hello.

214
00:19:37,590 --> 00:19:41,220
So in the same way, I wrote Hollowell.

215
00:19:44,990 --> 00:19:49,550
So let me write some lines how to treat.

216
00:19:53,060 --> 00:19:55,190
And Superman.

217
00:19:58,330 --> 00:20:03,550
And I'm just opening this these into the text file Eidelman.

218
00:20:09,020 --> 00:20:10,270
And parliament.

219
00:20:10,640 --> 00:20:16,990
OK, these trends, I think these are enough, it will display the contents of log file.

220
00:20:17,510 --> 00:20:27,380
Now we have got these rains and if you want to display the line numbers, you can see a lot of text

221
00:20:27,380 --> 00:20:36,480
file and to display the right numbers, which we have the seven lines in our regular text file.

222
00:20:38,150 --> 00:20:46,340
Now, what the head commander says it will take the first and number of friends and it will display.

223
00:20:47,120 --> 00:20:51,260
And that's ahead minus for a number of lines.

224
00:20:51,570 --> 00:20:56,800
If I say three and if I shared all the text file, I get the first three lines.

225
00:20:57,140 --> 00:21:05,060
So this had to come in, will take the output from starting line and it will display up to this number

226
00:21:05,060 --> 00:21:05,630
of lines.

227
00:21:06,050 --> 00:21:06,430
Right.

228
00:21:06,890 --> 00:21:16,490
So that current is opposite to this had come in the day command text line numbers from backwards.

229
00:21:16,610 --> 00:21:20,480
That means from the last on what I said to longer text.

230
00:21:21,290 --> 00:21:21,620
All right.

231
00:21:21,630 --> 00:21:24,990
Get the last two lines so far and come off.

232
00:21:25,010 --> 00:21:28,150
I get the violence in the text file.

233
00:21:28,340 --> 00:21:35,700
And if I said rushed Minocin file I the violence of this text file.

234
00:21:37,130 --> 00:21:41,740
So what I want to get only particular three, four lines.

235
00:21:42,950 --> 00:21:46,580
So my aim is to get only the third and fourth.

236
00:21:46,580 --> 00:21:54,550
Right now what I want to do is you want to generate from starting on what had Minocin to.

237
00:21:55,870 --> 00:22:03,400
Four, because I want only three and four, right, the maximum number of lines that can be used for

238
00:22:03,790 --> 00:22:06,220
and I will by this hour put into the.

239
00:22:08,140 --> 00:22:11,020
So this output contains only the first four rings.

240
00:22:11,350 --> 00:22:11,740
Hi.

241
00:22:11,860 --> 00:22:12,180
Hello.

242
00:22:12,180 --> 00:22:12,430
Hello.

243
00:22:12,560 --> 00:22:12,770
Hello.

244
00:22:13,510 --> 00:22:21,280
So in order to get only third and fourth rows, I just set a minister to.

245
00:22:23,120 --> 00:22:28,880
Now, as you can see, I got a little late and for today, right now, what I have done is I'll just

246
00:22:28,880 --> 00:22:29,660
recap once.

247
00:22:30,170 --> 00:22:37,360
First I had to spend the first four lines and I have people that are put into the command so that every

248
00:22:37,370 --> 00:22:44,660
command looks only at these four lines and in that four lines to display the two lines from the ending.

249
00:22:45,230 --> 00:22:48,440
So the first four lines contains hi, hello, hello, hello three.

250
00:22:48,830 --> 00:22:58,630
And these will be the input to the tail and the command always considers from the last.

251
00:22:58,650 --> 00:23:01,050
And we said that continued two lines.

252
00:23:01,290 --> 00:23:08,360
So from the last destruction and this is the last one I saw and had over three are being printed.

253
00:23:09,470 --> 00:23:15,470
So in this way you can get a particular number of lines using the combination of identity comments.

254
00:23:17,480 --> 00:23:24,920
So we can we can sort this using the command as a sort of text.

255
00:23:24,930 --> 00:23:37,000
We know this contents of this text will get an order sorted in the setting of the alphabet.

256
00:23:37,180 --> 00:23:37,600
So.

257
00:23:37,610 --> 00:23:47,240
So there is hollow hit and the are the words which are being attended to one to one.

258
00:23:47,660 --> 00:23:50,080
And then the second character has been checked.

259
00:23:50,150 --> 00:23:50,960
E hello.

260
00:23:51,350 --> 00:23:51,620
Hello.

261
00:23:51,620 --> 00:24:00,220
Is this the hero is the least I mean the lowest tone in ascending order and the word and the word three

262
00:24:00,260 --> 00:24:01,020
and then high.

263
00:24:01,340 --> 00:24:04,850
So these are sorted according to the ascending order of the alphabet.

264
00:24:04,920 --> 00:24:05,160
Right.

265
00:24:06,200 --> 00:24:12,740
So you can also sort this in the reverse order by using minus R option.

266
00:24:14,230 --> 00:24:19,400
As you can see, this is the exact opposite to this output, because it just was in the SAKURADA.

267
00:24:21,190 --> 00:24:24,640
Now, what we want to do is you can pipe this into unique common.

268
00:24:28,370 --> 00:24:36,740
So what this unique commando's is, when it chugs boo boo lines and the two lines are identical, it

269
00:24:36,740 --> 00:24:37,860
will do more than one line.

270
00:24:39,380 --> 00:24:42,070
So you see the unit coming later.

271
00:24:43,700 --> 00:24:55,340
But the only property you need to do the unique command is that all should be in sorted order and sorted

272
00:24:55,340 --> 00:24:55,490
out.

273
00:24:55,500 --> 00:25:00,260
Only then you will create the model duplicates.

274
00:25:00,320 --> 00:25:00,630
Right.

275
00:25:02,060 --> 00:25:05,870
So the next command you want to do is the U.S. government.

276
00:25:05,890 --> 00:25:08,540
The U.S. stands for work on.

277
00:25:08,540 --> 00:25:13,700
It will count the words in the file and it will reduce the number of what?

278
00:25:15,610 --> 00:25:17,630
So the first one is the line number.

279
00:25:17,860 --> 00:25:21,670
It says that there are seven lines and the second one is the word no.

280
00:25:21,730 --> 00:25:24,400
There are a number of words, mean seven.

281
00:25:24,850 --> 00:25:26,730
There are seven words in the texture.

282
00:25:26,920 --> 00:25:32,030
And how many bytes or characters are there in the text, what that means.

283
00:25:33,490 --> 00:25:40,830
So in my log there are seven lines which you have seen and there are certain words that means each word

284
00:25:41,200 --> 00:25:43,230
today and there are fifty nine.

285
00:25:43,420 --> 00:25:45,390
But I'm interested in characters.

286
00:25:46,240 --> 00:25:51,420
So what if I want to get only the only you say.

287
00:25:53,860 --> 00:25:54,990
Lines, right?

288
00:25:55,110 --> 00:26:02,110
No, I want to switch for my answer, and I got only the first line number, and if I tell you I regret

289
00:26:02,110 --> 00:26:04,770
only the word count, it is also seven.

290
00:26:05,290 --> 00:26:08,340
And if I say seat number of character, count it.

291
00:26:08,620 --> 00:26:09,770
It shows us 15 it.

292
00:26:10,600 --> 00:26:14,740
So these three are the important options for the U.S. command, which can work.

293
00:26:16,060 --> 00:26:27,300
And the last one you'll be seeing in this video is Furqan so far far that says that as this fight is

294
00:26:27,340 --> 00:26:31,900
the basic information about the fight you specified in the first argument.

295
00:26:38,850 --> 00:26:41,840
So that's not we will be seeing the group come on.

296
00:26:42,840 --> 00:26:44,590
Let's get log file.

297
00:26:46,520 --> 00:26:56,690
Now, this group in Will matches the pattern and it will print only the line, the pattern matches.

298
00:26:56,870 --> 00:26:58,050
So that's a group.

299
00:26:59,450 --> 00:27:03,350
Now, I want to put in the lines, which has a lot in it.

300
00:27:03,620 --> 00:27:04,880
So if I say group.

301
00:27:06,650 --> 00:27:14,600
Hello, and if I hit enter now, I get the only alliance that has hello hello is the pattern we have

302
00:27:14,600 --> 00:27:18,710
specified for the group and I have got only those three rings.

303
00:27:19,580 --> 00:27:26,120
So if you if I want to ignore case, that means I want to search for Swan.

304
00:27:26,120 --> 00:27:26,390
Hello.

305
00:27:26,390 --> 00:27:27,020
And the capital.

306
00:27:27,030 --> 00:27:27,400
Hello.

307
00:27:27,410 --> 00:27:38,030
Then I want to specify this I, I switch and since we are lowercase alphabet's we have got to say I

308
00:27:38,030 --> 00:27:49,580
want to put now put in words this matching that means show me the lines, accept the lines with the

309
00:27:49,580 --> 00:27:54,890
Hollywood fight and now I get the lines other than the lines that contains the.

310
00:27:54,890 --> 00:27:55,130
Hello.

311
00:27:55,460 --> 00:27:55,910
Hello.

312
00:27:58,000 --> 00:28:01,490
This is the basic usage of the group in the future videos.

313
00:28:01,490 --> 00:28:03,800
We will see some more examples of the group.

314
00:28:04,250 --> 00:28:07,400
And also these are the basic comments.

315
00:28:07,850 --> 00:28:14,450
And if there is any other comment I know Miss then will see that come out in that video.

