Well, let's see a few last helpful commands that will help us get around and do a few more advanced
things.
First of all, if you ever need help with a command, you can always use help.
And the name of the clan, so help Kopi, help keep a copy and we'll give you the full help file for
copy.
You can also just use Kopi Slash Questionmark, that's equivalent to the dash dash and help is just
like man or similar to the man for the manual command and Lennix help space in the name of the program,
then copy or the name of the the name of the command line command that you want to use space slash.
Questionmark.
We'll do something similar so I can take my the name of my command space and into a question mark.
That's the Windows equivalent of the dash dash help so you can find out more about any file that you
want to use, any command that you want to use in the Windows command prompt.
So we'll clear the screen one more time with CLX.
And let's run the Pinkman, just like we did in Linux, in fact, it's the same command ping, Google,
dotcom.
And you may get an error like this sometimes when we've set up our virtual box, we need to refresh
the networking.
You need to check two quick things.
First of all, make sure that you are connected to the mat.
We'll do more with the networking in the next section.
But for right now, make sure that you get your net connected and then come down to the bottom of your
window and make sure that you've got the Connect Network adapter checked.
You can double check your network settings, but that should be OK, then we're going to do an IP config
and we'll check and well, reconnecting worked there.
If you ever come in and you're not able to connect after toggling this Connect Network adapter on and
off, then you can do an IP config slash renew in windows.
So IP config is telling me that I have in fact the exact same IP address.
That's because of the networking that we have set up right now by default and Oracle Virtual Locks.
We're going to see how to repair that in our next section on the virtual network set up.
But we have 10 to 15.
And so now we're able to see out of the Internet.
If I renew that IP address, it'll still come back with a 10 to 15.
Good.
Now close and I can ping Google dot com and now we get a response I can control see to quit.
But by default, ping on windows will only do a count of four.
It'll only do four pings.
So we get a ping command.
We've seen the IP config.
We'll need these IP addresses later on and we'll be changing this network set up so that we'll have
two different networks will connect to.
But we can always find that with an IP config on Windows, I-F config on Linux.
We know how to get help if we need it.
We know how to ping.
One last advanced command that's handy sometimes is to do the set.
Command set is just like EMV on Linux, so it tells us all of our environment variables.
So I can see my home path is users be paying.
Well, one thing that we can't do is easily if I do, c.D, on Windows, it just tells me my current
directory letting IP W.D. commanded back on Linux.
It doesn't take me to my user directory like CD Space Center does on a Linux box.
So there's no graceful way to do this.
But I can use my user profile or my.
Back up your home path and I just have to remember on Linux, we had to do a dollar sign before the
environment, variable name and Windows, we have to surround it with eight percent symbols.
So if I could get to the root of the file system and I want to get back into my users directory somewhat
easily, I can QD space and then I can either percent user profile or home path.
So if I could into user profile, that environment variable will then tell me that that's users big
pain and I can also echo percent user profile.
Percent and I can see that that's my home path as well.
So some things are a little different in Lennox command line versus Windows, but we've seen that we
can make our way around both these command line environments, check out the PDF file that has these
two cheat sheets for you, for Linux and Windows quick commands.
And we'll do a quick review and then we'll set up our virtual labs networking.