We've learned to use some helpful Linux commands from the command line terminal and Linux, let's see
how to do the same thing for my Windows command line, the old DOS terminal window.
So we're going to see, first of all, how to do some of the same things, directory changing directories,
moving around, getting some information about the system.
And then we're going to see how to do some file commands and then we'll put it all together with some
advanced commands and windows as well.
So open up your windows, VM by coming to Oracle Virtual Box and starting your Windows 10 machine and
come to your start window.
And this is the same for just about any of the recent versions of Windows from XP.
All the way to ten point one.
We hit our start menu and then we come into the search bar and we can type C and D, C, D is the command
prompt and you can either hit enter here or you can click on the command prompt above.
And you can modify the properties of your command prompt window by go into properties font and let's
make that significantly bigger, maybe twenty four, even twenty eight.
And then we can change the colors if we like it, OK, and I'll maximizer that it takes up the whole
screen and so I can come to the view menu and come to scale factor and I'll make it a little bigger,
maybe 125 percent.
And then I can bring it back to full screen.
And remember, if you ever want to get out a full screen just to your your control key or your command
key on a Mac and F to switch back and forth between full screen, so I'm in my command prompt window
in Windows 10.
Let's do just a Dyax and since I'm in as my user that I created, a user has all of these files and
folders.
The D i r command is just like the last command are very similar to the El's command.
And actually you can see it lists and shows that these are directories.
So it's more like the L command.
If I want to do a wide directory or not have all this information, I actually have to say Dyax and
then slash W, and that shows them in a stacked format or a wide format like I saw by default and Linux.
So D-R is similar, but not exactly the same as a list command, but the CD command to change directories
is exactly the same.
So if I CD into the desktop DEA, I can even use my tab key.
And I'm sitting in the desktop, I'm down at the bottom of my screen, so I'm going to do a CLX s that's
the same as the clear command and Linux CLX will clear the screen in our Windows command prompt.
So if I see these.
Space dot, dot that will take me back up on directory, the same thing here, KDDI space dot, dot,
and then I can even do a C.D. space slash and that takes me to the root of my C drive.
So the root of my file system in windows.
And then if I want to get back into my user's directory, I can create space capital.
You actually case doesn't matter as much on a Windows PC and I want to use a backslash BP tab and then
if I want to change back into my desktop, KDDI desktop.
There we go.
We see we can change directory.
So listing and changing directories works very similar to what we had in Linux, but it's a directory
and a CD, Dyax and CD.
So we'll do a close to clear the screen and let's do a VR command.
We can see we're in a Microsoft Windows.
That's sort of like my you name Dash A.
I'll also do a hostname on here so we can see that we're on a host desktop and it just has some random
sequence of characters after it.
But VR will tell me my operating system version of my Microsoft Windows Version 2.0.
And if I want to see my history, I can't just do the history command.
I have to do Dos Kidwai space slash H.
Dusky shows me everything that I've done since I logged in.
I've done I've had several commands, including ACLC and so we've seen oh just like on Windows, just
like on Linux, we have an up arrow as well so we can go back up and we can come back down.
So if we want to see a command run a second time, I just have to up to it and hit enter.
I get up in the neck and down and I can see that history that scroll through as well.
So those are some basics for getting the command line, plus seeing what kind of computer you're on
in the next lesson.
We'll see how to do some final magic in Windows.