OK, now let's talk about combating the fires.
Now the first command we would use, which is the comb to combat commands.
So.
Remember when we have that test, the text fight here, you can see that we have it here.
OK, so just let's keep this file to make a copy from it using the copy command.
So let's name this just find the source is this and the destination?
It will be just underscore.
Copy.
OK, now let's using them ED.
This underscore copy, and let's delete the last two lines.
Control and how to do such a thing.
Press need to remove a line again.
As you can see here, we have d here d d to remove the files and then shipped colon or the colon here
WQ.
OK, now let's clear the screen.
Now we want to comp OK or compare.
Compare the files between this text and this underscore CP the text.
You will notice that it has the all of the following, but the difference is that we have high again
here and there, and we don't have them there.
All right, cool.
Now let's use another command called the f k the IMF or the difference.
Now this again, the same file.
And the second file like this and you notice that on the lift file, which is this one, as you can
see on the left, we have.
Hi there.
Hi again.
Hi there.
OK, but here we don't have them right now.
There is another command called them diff.
OK.
So Vim diff use the first line, the first file.
I mean, and the second file and you notice actually, this is a visual and it is better than the previous.
So here you can see that the hi again and type there are here, but are not there right now.
Shift color on cue like this and again from the other one because we opened two files.
And here we can see the difference, by the way.
Then the compare diff.
It has a lot of features and just open the manual and look for them like you can see that a lot of options
and features.
OK.
For now, I just give you a quick introduction about them.
If it.
When times come, we can use more feature for them for now.
Keep that on your mind.