So in the previous lesson, we saw the first few commands here, directory KDDI version or V.R. Dasuki,
in this next lesson we're going to see how to use the echo print to screen notepad more, make directory,
remove directory and copy, move, delete so we can play around with files and then we'll come back
and do some more advanced things in the final lesson.
So switch back to your virtual box and I'll leave mine in this window screen here.
I'm going to click inside though and see less to clear the screen.
Well, first of all, if I want to create files on my computer, I can do the same thing that we just
saw in Linux echo text into a text file, not text.
If I move that over, say, I've created a text file just by echoing text into the text file, you can
do more text than that.
You can put it inside quotes if you've got spaces.
So I could echo something even longer.
But if I want to do very much with it, I'd probably want to.
Well, let me do it.
I'll answer that text file is now in there.
Let's say that I want to edit this.
Well, we don't have the handy editor across all of the versions of Microsoft Windows.
We used to have an edit program, but if we run edit on Windows 10 will get an error.
We can run notepad, though, if your machine is configured for it's a notepad TWX tab, notice it auto
completes and it brings up notepad.
So just like in Nano, I could edit a few things here if I save that.
And then closed notepad and come back to my Windows Command prompt, and I can use the more command.
More TSX tab and notice shows every bit of the text in my.
File tick's, this is more text one, even more text.
It's clear the screen so I can see my text file is on my C users be paying desktop, let's say I wanted
to put that into a folder.
Well, I could do something like MMD.
I can also use Make Dear and Kadivar.
But there are shorter commands for these two on Windows M.D. space.
My files are now and I can say I have a folder and if I pull this command prompt over, you see on my
Windows desktop inside my virtual machine, I have a folder called My Files.
Well, I can either drag and drop that if I were using the graphical user interface or I could move
that file by saying MLV text file into my files.
And if I do a deal are now there is no text file, but I see into my files, into a directory and my
text file is there, let's say that I wanted to rename it.
Well, I just do the same thing.
M.V. MLV do I have to spell these out in windows?
Let me make this clear again.
Dianah again M.O.B. text file text to silly not text the hour and we see now we've got that for.
Want to copy it.
I just have to spell out copy SCoPI silly that text copy select text to my text.
Text.
Do directly, and now we have both files with I want to remove one, there's no R.M. command, I have
to do DTL for delete Cyle tab and that gives me my text file.
And if I do a directory now, you'll see that I've deleted with the Dell Command DSL select text.
Well, I probably like to clean this up and delete some of these things, so I'm going to double my
text.
And I'm going to say that the I r I want to remove this empty folder called my files so I can do.
R.M. Dya just answered my.
And then a new directory in my desktop is empty, if I move my command line, I can see I've removed
the text file and the folder from my desktop.
So we've seen some really useful commands to help you get around the the file system and windows.
When we come back, we'll do a few last advanced commands.
We'll see how to do some networking based commands and we'll see how to get help and do a few other
things.