Now let's start with editing files from the command line.
Now we have many tools.
Actually, we have them.
Or why?
We have no.
Now let's start with nano.
So nano artist text the one we have created.
And here you can see that we can start creating or putting whatever we want.
So hello or hi there.
Now pest control, X or control or as you can see from here, control or to right out.
So to save control or the name of the file, we can change it or keep it as is.
As you can see, wrote 12/9.
Peter.
Alex So to exit now let's talk another utility which is the VIM or VI, which is very popular.
So it is the text, but it is, it has a different settings like the Nano.
So here to edit the file you need to put the I so press the eye button so you can see now we are inside
the insert mode.
So here we can put high again or high again here and press the skip button to go away from the insert
mode or editing mode.
Now then shift.
Semicolon or colon, as you can see.
W For right.
Q For quit.
WQ for right.
Which means seven min and quit.
So open it again.
You can see.
Hi again.
It is here.
All right, cool.
Also, we can use the oh button so to insert with a new line like this.
By the way, Vim has a lot of powerful features and settings, so I don't want to talk about every feature
here.
Okay, so for now, we just learned the important thing, by the way.
Sometimes when I quit from here, you can see that I can't quit because I need to change or save the
changes.
So how to quit without changing anything or saving anything?
Quit with shift one or the exclamation mark.
Press exit.
So here it will work.
So you can see that it hasn't been saved.
All right.