1 00:00:00,210 --> 00:00:02,520 OK, now let's talk about combating the fires. 2 00:00:02,820 --> 00:00:06,780 Now the first command we would use, which is the comb to combat commands. 3 00:00:07,210 --> 00:00:07,590 So. 4 00:00:08,920 --> 00:00:14,570 Remember when we have that test, the text fight here, you can see that we have it here. 5 00:00:14,620 --> 00:00:20,750 OK, so just let's keep this file to make a copy from it using the copy command. 6 00:00:21,130 --> 00:00:26,200 So let's name this just find the source is this and the destination? 7 00:00:26,200 --> 00:00:29,140 It will be just underscore. 8 00:00:29,440 --> 00:00:30,000 Copy. 9 00:00:30,310 --> 00:00:34,150 OK, now let's using them ED. 10 00:00:34,540 --> 00:00:39,580 This underscore copy, and let's delete the last two lines. 11 00:00:39,820 --> 00:00:42,270 Control and how to do such a thing. 12 00:00:42,320 --> 00:00:44,770 Press need to remove a line again. 13 00:00:45,280 --> 00:00:52,870 As you can see here, we have d here d d to remove the files and then shipped colon or the colon here 14 00:00:53,050 --> 00:00:53,880 WQ. 15 00:00:54,280 --> 00:00:57,340 OK, now let's clear the screen. 16 00:00:57,670 --> 00:01:01,240 Now we want to comp OK or compare. 17 00:01:01,480 --> 00:01:08,350 Compare the files between this text and this underscore CP the text. 18 00:01:08,710 --> 00:01:14,830 You will notice that it has the all of the following, but the difference is that we have high again 19 00:01:14,860 --> 00:01:18,430 here and there, and we don't have them there. 20 00:01:18,850 --> 00:01:19,930 All right, cool. 21 00:01:20,170 --> 00:01:25,930 Now let's use another command called the f k the IMF or the difference. 22 00:01:26,500 --> 00:01:29,600 Now this again, the same file. 23 00:01:29,620 --> 00:01:36,460 And the second file like this and you notice that on the lift file, which is this one, as you can 24 00:01:36,460 --> 00:01:37,930 see on the left, we have. 25 00:01:37,930 --> 00:01:38,530 Hi there. 26 00:01:38,920 --> 00:01:40,160 Hi again. 27 00:01:40,330 --> 00:01:40,840 Hi there. 28 00:01:41,320 --> 00:01:44,530 OK, but here we don't have them right now. 29 00:01:44,530 --> 00:01:47,470 There is another command called them diff. 30 00:01:47,620 --> 00:01:48,130 OK. 31 00:01:48,430 --> 00:01:53,680 So Vim diff use the first line, the first file. 32 00:01:53,680 --> 00:02:00,340 I mean, and the second file and you notice actually, this is a visual and it is better than the previous. 33 00:02:01,060 --> 00:02:07,330 So here you can see that the hi again and type there are here, but are not there right now. 34 00:02:07,360 --> 00:02:14,650 Shift color on cue like this and again from the other one because we opened two files. 35 00:02:15,010 --> 00:02:18,220 And here we can see the difference, by the way. 36 00:02:18,520 --> 00:02:20,980 Then the compare diff. 37 00:02:21,520 --> 00:02:28,810 It has a lot of features and just open the manual and look for them like you can see that a lot of options 38 00:02:28,810 --> 00:02:29,500 and features. 39 00:02:29,740 --> 00:02:30,160 OK. 40 00:02:30,490 --> 00:02:34,050 For now, I just give you a quick introduction about them. 41 00:02:34,850 --> 00:02:35,320 If it. 42 00:02:36,480 --> 00:02:40,860 When times come, we can use more feature for them for now. 43 00:02:40,950 --> 00:02:42,000 Keep that on your mind.