WEBVTT

00:00.570 --> 00:00.970
OK.

00:00.990 --> 00:06.540
So as I mentioned in the last video we're going to do a really quick activity where you're basically

00:06.540 --> 00:11.880
going to try experimenting with these three commands and enter them into the mosque.

00:12.050 --> 00:13.220
Well.

00:13.740 --> 00:15.530
So if you stopped it if you quit.

00:15.660 --> 00:21.510
Make sure that you open it back up using the this command and then try running these one at a time and

00:21.510 --> 00:23.240
just see what happens.

00:23.250 --> 00:29.040
So puzzle video if you'd like and do that and then come back and in a few seconds we'll go over what

00:29.040 --> 00:31.710
happens.

00:31.730 --> 00:32.370
All right.

00:32.370 --> 00:33.910
So let's start with the first one.

00:33.960 --> 00:35.200
Help.

00:35.220 --> 00:40.640
So I'm going to clean up my terminal here just by using the clear command.

00:40.830 --> 00:43.830
Then I'm going to access the Seelye.

00:43.830 --> 00:46.010
I'll just use the up arrow.

00:47.040 --> 00:52.410
So now I have this Selye command line interface ready for me to type some commands.

00:52.410 --> 00:59.430
So I will do that first one which is help and you can see we're actually prompted to type that.

00:59.550 --> 01:06.430
So when I hit enter all it does is give me a list of commands of things I can do.

01:06.550 --> 01:13.140
You can see you've got things like clear help which you just used print prompt.

01:13.220 --> 01:16.480
We've got quit which we already used as well.

01:16.590 --> 01:23.160
Basically it's just a list of things that you can do as you can see we can also try help contents

01:26.310 --> 01:31.360
and we basically get a list of categories that we could access.

01:31.530 --> 01:36.360
So if we wanted to know more about let's just pick one of these at random.

01:36.360 --> 01:39.780
Don't worry let's try data types.

01:39.870 --> 01:48.810
We can do help data types and it kind of dives down further and gives us information about what those

01:48.810 --> 01:49.250
are.

01:49.260 --> 01:52.110
We haven't talked about data types so don't stress about that.

01:52.200 --> 01:55.880
The next command to try is show databases.

01:56.040 --> 01:59.700
So we'll come back to try that show data bases

02:02.360 --> 02:09.440
and it gives us this nice little representation here of the current databases that we have in this instance

02:09.460 --> 02:11.360
of my as well.

02:11.360 --> 02:15.240
So we haven't talked about how you make a new database you might be wondering what's going on.

02:15.260 --> 02:17.320
There's already five of them here.

02:17.450 --> 02:23.300
All of those were created automatically when we created this minuscule instant.

02:23.330 --> 02:28.290
So don't worry it doesn't really matter what they are right now but they're there automatically.

02:28.370 --> 02:33.650
There are five different databases in the next section we'll actually talk about what a database is

02:33.650 --> 02:39.110
when you create a new database why you create a new one when you use the same one but just wanted to

02:39.110 --> 02:44.060
show you this command because you'll be able to use it in the future when you create a new database

02:44.090 --> 02:45.460
and you want to make sure it worked.

02:45.680 --> 02:50.030
You can type show databases and you should see a new one added below.

02:50.250 --> 02:55.220
And the final command here is select at at hostname.

02:55.250 --> 03:01.820
This is also kind of a weird one that most likely you will never type after this but I just wanted to

03:01.820 --> 03:07.490
show it to you not because it's something you need to do but just it's something that you can do quickly

03:07.490 --> 03:14.300
and immediately and all of this here is just to illustrate the point that the Selye works by you typing

03:14.300 --> 03:14.790
commands.

03:14.800 --> 03:17.110
Hitting enter and getting some text back.

03:17.330 --> 03:24.460
So that process over and over and over here tells me that my hostname is this string here basically

03:24.460 --> 03:26.270
am I using my user name.

03:26.270 --> 03:29.450
Yours will be different depending on your workspace and your user name.

03:29.660 --> 03:36.470
So as I mentioned it's honestly not important what it is or why it's there at this point but I just

03:36.470 --> 03:40.800
wanted you to see that you can type these commands in and get something back out.

03:41.210 --> 03:44.960
So that's it for this really quick kind of silly exercise.

03:45.170 --> 03:49.310
But in the next section we're going to start actually learning as all commands.

03:49.310 --> 03:54.770
So you'll be able to start interacting immediately creating databases creating new tables adding data

03:54.770 --> 03:58.030
into those tables and it gets a lot more interesting there I promise.
