WEBVTT

00:00.560 --> 00:06.200
In this video, I want to go over a quick couple of Linux commands, kind of get you familiar with Linux.

00:06.230 --> 00:12.950
Now, Linux is a wonderful operating system and it does have some GUI based programs.

00:12.950 --> 00:18.560
Meaning if I go to the menu here, I can go to one of these and I can click on one of these and I'll

00:18.560 --> 00:19.790
open a program.

00:19.790 --> 00:26.060
However, if I open most of these, it's going to open up in a terminal window, which is this window

00:26.060 --> 00:30.290
here for windows users, it's basically a command prompt.

00:30.830 --> 00:37.910
Um, Mac users will recognize as a terminal, and we can also open it by going down in here and clicking

00:37.910 --> 00:38.780
this black box.

00:38.780 --> 00:41.180
And it'll say terminal terminal emulator.

00:42.320 --> 00:44.720
And I zoomed in on the terminal here.

00:44.720 --> 00:46.370
If you want to do that yourself.

00:46.640 --> 00:51.500
Hit shift control and the plus key twice and I'll zoom in a little bit.

00:53.000 --> 00:57.500
The other important thing about Linux is Linux is case sensitive.

00:57.500 --> 01:01.970
So if I try to go to a desktop desktop, it has a capital D.

01:01.970 --> 01:04.130
If I do lowercase it's not going to recognize it.

01:04.130 --> 01:08.630
So you do want to pay a very close attention to to things like that.

01:08.780 --> 01:15.230
So a couple things, uh, Linux commands that you want to know is ls that will tell you what directory

01:15.230 --> 01:16.340
you're currently in.

01:16.640 --> 01:19.250
CD is for change directory.

01:19.280 --> 01:20.690
Say I want to go to desktop.

01:20.690 --> 01:21.980
I could do desktop.

01:23.030 --> 01:27.200
And I'm going to intentionally put it all lowercase and show you what's going to happen.

01:27.200 --> 01:28.190
So.

01:28.810 --> 01:30.880
It's going to say no such file or directory.

01:30.880 --> 01:33.760
That's because again, Linux is case sensitive.

01:33.760 --> 01:37.030
So I could do CD space capital D.

01:37.540 --> 01:41.890
And another great thing about Linux is it's uh, it has autocomplete.

01:41.890 --> 01:44.200
So if, if I hit the tab key.

01:46.290 --> 01:51.690
It all finished typing what it thinks I'm going to try to type in so I can do that.

01:51.690 --> 01:55.530
And now I'm in the desktop, I can do LS to show me what's in there.

01:56.310 --> 01:57.120
Okay.

01:57.120 --> 01:59.760
I could do CLS to clear the screen.

02:00.680 --> 02:02.270
Or rather clear.

02:02.420 --> 02:03.380
Sorry.

02:03.920 --> 02:08.480
And if I want to go back, I could do CD space dot, dot.

02:08.480 --> 02:10.460
And that'll take me back directory.

02:10.460 --> 02:12.530
I can do ls again and.

02:13.530 --> 02:14.160
Takes us back.

02:14.190 --> 02:15.870
It shows us everything again.

02:15.870 --> 02:17.760
Another important command is sudo.

02:17.790 --> 02:22.230
Now sudo is basically running things as administrator.

02:22.350 --> 02:29.460
By default, Linux doesn't run things in administrator to give you more protection, so something bad

02:29.460 --> 02:30.150
doesn't happen.

02:30.150 --> 02:32.700
Malware doesn't try to take over your system as easily.

02:33.320 --> 02:39.140
So if we want to run something as a minister, we type in sudo space and whatever the command is and

02:39.140 --> 02:40.310
that's going to run it.

02:42.150 --> 02:44.880
Now we're going to learn a lot of other stuff.

02:45.060 --> 02:47.280
Um, other commands throughout the course.

02:47.280 --> 02:51.600
We're going to be downloading things from GitHub and whatnot, and I'll be walking you through those

02:51.600 --> 02:51.930
commands.

02:51.930 --> 03:01.590
Also, other important commands you want to know are sudo apt get space update.

03:02.400 --> 03:05.070
And that's going to update our operating system.

03:05.070 --> 03:09.420
Likewise we could do sudo apt get.

03:11.610 --> 03:12.510
Upgrade.

03:12.510 --> 03:16.020
And that's going to look for if there's any upgrades to the operating system.

03:16.020 --> 03:19.500
So we don't have to go out and try to look for those updates.

03:19.500 --> 03:22.470
We can simply type those commands and update the operating system.

03:23.230 --> 03:26.320
And these are really important to run periodically.

03:26.560 --> 03:28.750
So those are some basic commands for Linux.

03:28.750 --> 03:35.200
Again, as we go through the course and we start using other commands like um, um, GitHub downloading

03:35.200 --> 03:40.450
for GitHub and whatnot and running specific Python commands while I walk you through that also.

03:40.450 --> 03:43.600
But these are the very basics that you're going to want to learn.

03:43.600 --> 03:44.860
Thank you for watching.

03:44.860 --> 03:45.940
I'll see you next video.
