WEBVTT

00:08.520 --> 00:10.870
Heidi welcome back in.

00:10.880 --> 00:14.930
Listen we're going to learn about the directory structure in Linux.

00:14.930 --> 00:16.690
So what is directory structure.

00:16.810 --> 00:23.570
When we install the Linux operating system then all the important files and folder present inside the

00:23.570 --> 00:27.610
Linux operating system are organized in the brief form.

00:28.340 --> 00:31.310
In a particular directory that is the root directory.

00:31.340 --> 00:36.510
So such organizations have important files and folders in this regard.

00:36.680 --> 00:39.340
Is Called it as the directory structure.

00:39.620 --> 00:41.980
So let's see this structure.

00:42.080 --> 00:48.260
OK practically here and the importance of is directly present inside the room directly.

00:48.260 --> 00:49.050
OK.

00:49.200 --> 00:55.910
Dr. Drew directory's also called the mounting point Taguig and it is represented by a forward slash.

00:55.910 --> 01:03.050
So let's get inside the root directory and unless that is the listing of files and folders.

01:03.140 --> 01:08.320
So here you can see these are the files and folders Brizard inside this group directory.

01:08.330 --> 01:11.620
So let's see the importance of each folder present here.

01:11.650 --> 01:12.190
OK.

01:12.200 --> 01:19.820
One by one who can talk about and they've been directly the BEEN directories used to store the binary

01:19.820 --> 01:21.410
executable files.

01:21.420 --> 01:29.480
Ok so what are binary files that come once the basic commands that we are executing from our previous

01:29.480 --> 01:30.190
lessons.

01:30.230 --> 01:38.490
That is KTAR CD for changing directory or ls or any basic come on the PC Come on.

01:38.600 --> 01:42.170
Are those commands which can be performed by any user.

01:42.170 --> 01:46.500
You don't have to be a super user or administrator to kill DOS.

01:46.500 --> 01:46.960
Come on.

01:46.970 --> 01:54.340
So those concerns are related to that come ons are stored inside the directory.

01:54.470 --> 01:58.090
So let's get inside the brain.

01:58.210 --> 02:07.880
Alice And here again see these are the binary files relating to the basic K-Mart's get.

02:08.440 --> 02:13.430
Now the next directory is directly let's get inside there.

02:13.650 --> 02:20.810
LS Now here you can see the data directory contains the files and folder related to hardware.

02:20.850 --> 02:21.190
OK.

02:21.250 --> 02:22.970
So all the hardware.

02:23.050 --> 02:29.670
Ok the hardware connected to your system that is your monitor motherboard ram OK all the hardware related

02:29.680 --> 02:34.700
information or the files are present inside the girl directly.

02:34.780 --> 02:38.430
So let's get inside the next directory.

02:38.710 --> 02:39.820
The home directory.

02:39.880 --> 02:46.150
The next day at his home directory the home directory is used to store the formation about the user's

02:46.450 --> 02:48.720
present in your next system.

02:48.970 --> 02:55.800
Or you can also see it could get the user profiles or information about the user profiles so that is

02:55.810 --> 02:57.060
fine home.

02:57.210 --> 03:01.460
LS And here you can see it shows the current user active pression.

03:01.480 --> 03:02.720
OK we have cleared it.

03:02.740 --> 03:05.530
Only one user insert the system.

03:05.530 --> 03:09.870
That's why it shows the information about this one user.

03:13.170 --> 03:21.390
The next with IB It is the library the library directory contains all the files related to the library

03:21.450 --> 03:28.080
or you can also call it as it contains the library files which are essential for an operating system.

03:28.080 --> 03:34.890
Or you can also click as the support you find for an operating system or software runestone or the binary

03:34.890 --> 03:37.870
executables that are produced inside indirectly.

03:37.950 --> 03:42.900
So they'll be directory contains the supported files or support files.

03:42.980 --> 03:43.370
OK.

03:43.410 --> 03:45.480
So let's get in line.

03:45.540 --> 03:48.700
I'd be less here.

03:48.740 --> 03:53.050
See these library files present inside this directory.

03:53.100 --> 03:55.240
The next directories media directory.

03:55.360 --> 04:02.970
OK this is used to store the information or the files related to the removable media that is CD-ROM

04:03.490 --> 04:04.770
or pain right.

04:04.800 --> 04:05.450
OK.

04:05.480 --> 04:12.960
Hold on removable media related information or the files gets wholistically.

04:13.380 --> 04:14.130
This.

04:14.250 --> 04:16.830
Here you can see Shulz CD-ROM there.

04:16.840 --> 04:24.380
It shows that currently the CD-ROM is connected to a system and the CD-ROM is removable media removable

04:24.390 --> 04:25.130
CD-ROM.

04:25.290 --> 04:25.650
OK.

04:25.680 --> 04:28.450
Let's get inside the next day.

04:28.530 --> 04:31.860
That is R P D C D D.

04:31.950 --> 04:37.500
This directory's used to store the information or the files related to the add on.

04:37.500 --> 04:40.820
So get the extra add ons that Winstrol.

04:40.910 --> 04:46.010
OK here you go see we install in our previous list in the virtual box guest Eddison.

04:46.020 --> 04:47.310
So that's fine.

04:47.370 --> 04:51.370
Really good to deck this Kurdish unit installed in this directory.

04:51.390 --> 04:53.130
What there were additional software.

04:53.140 --> 04:59.650
Or you can also call it as adults and of soft Durlacher to back down are installed in this directory

04:59.940 --> 05:02.250
the next directory is directory.

05:02.280 --> 05:08.580
So don't confuse the root directory tree present thereby forward slash and destroy directory.

05:08.680 --> 05:14.360
This will directly present here is the home directory for the root user get the root user.

05:14.450 --> 05:19.400
So you can also click as admins user it is the home directory for that root user.

05:19.410 --> 05:25.920
And currently we can get inside this rubric because you need admin circular privilege so you can get

05:25.920 --> 05:27.240
inserted with sudo.

05:27.260 --> 05:30.480
But I don't want to get inside that right now.

05:30.540 --> 05:34.510
So let's talk about the next directory that is it's been.

05:34.560 --> 05:37.860
This directory contains the binary exit cables.

05:37.980 --> 05:38.410
OK.

05:38.460 --> 05:45.630
It also contains the binary executable like bin but the binary code was present in it's been on for

05:45.690 --> 05:53.400
administrator or user or superuser Dukie the files and folders present in this directory are related

05:53.400 --> 05:56.810
to the super user or administrative level user.

05:56.850 --> 06:07.700
So let's take a v v and analysts who get here can see it contains the binary executable really could

06:07.700 --> 06:12.660
be the superuser or administrated it will use it the next day.

06:12.810 --> 06:15.690
R V SRB stands for services.

06:15.690 --> 06:21.420
So this directory contains the information about the services which are relating to the server.

06:21.540 --> 06:24.910
So let's get inside as are v.

06:25.080 --> 06:29.610
LS Ok we we do not have any server installed yet.

06:29.610 --> 06:33.520
So you can see here it does not showing any files or folders present.

06:33.560 --> 06:34.880
So in this Rick.

06:35.160 --> 06:37.140
So let's talk about the next directory.

06:37.140 --> 06:44.800
That is the EMP the MP distend directory is used to store or hold the temporary files.

06:44.850 --> 06:45.270
OK.

06:45.270 --> 06:49.120
When we use any application that application requires.

06:49.120 --> 06:51.290
So some are temporary files.

06:51.300 --> 06:51.600
OK.

06:51.630 --> 06:53.800
It needs some temporary files to be created.

06:53.840 --> 06:58.020
So the files are stored inside this same directory.

06:58.060 --> 06:59.920
OK the next evictees VAT.

07:00.020 --> 07:01.740
That's test for variables.

07:01.800 --> 07:05.220
So it contains the wearable information.

07:05.220 --> 07:11.370
The directories used to store the information about the variables so you can see polygons environment

07:11.380 --> 07:12.480
variables.

07:12.510 --> 07:15.690
So let's get inside Val and Ls.

07:15.740 --> 07:23.240
OK here you can see it contains various directories like back UVs gash Ellaby local lock mail.

07:23.340 --> 07:30.530
So here's the information about all environment variables relating to these systems.

07:30.530 --> 07:32.700
That is mail system lock system.

07:32.730 --> 07:36.330
OK so the next victory is Butyric.

07:36.450 --> 07:41.260
OK so let's get inside both directory and Ls.

07:41.280 --> 07:50.520
Now here kesi actually holds the information about the boot files the important files which are required

07:50.610 --> 07:52.020
during boot operation.

07:52.230 --> 07:56.010
The important files are an idea or the doc AMG will get.

07:56.070 --> 08:01.860
It is an initial Rambis file and the next important is the end user.

08:02.010 --> 08:05.470
So the formula user easy kernel fine.

08:05.530 --> 08:07.230
Get you to the kernel file.

08:07.260 --> 08:13.030
I actually argue that I would use an image file or you can also called as Michelle fine.

08:13.050 --> 08:18.340
So let's talk about the next directory next directory's UTC.

08:18.400 --> 08:20.510
So Skip is right.

08:20.670 --> 08:24.690
You see this deck contains all the configuration files.

08:24.900 --> 08:31.920
This data contains the configuration files relating to braking system the software you install or the

08:31.930 --> 08:39.540
user management related configuration files so you can control the behavior of your braking system or

08:39.690 --> 08:46.380
various You can make these changes to various things by making changes to these files so good.

08:46.440 --> 08:53.920
So we will learn about this in our latter sections are in or what upcoming lessons and how to use or

08:53.930 --> 08:56.130
how did those files present here.

08:56.380 --> 08:58.960
Okay the next line is Dayanidhi already not IMT.

08:58.980 --> 09:01.640
So it is the initial round is fine.

09:01.650 --> 09:03.430
So it is not a folder.

09:03.480 --> 09:05.870
OK so let's talk about the next directory.

09:05.990 --> 09:10.530
Last Place phone this directory is used to store the files and folders.

09:10.560 --> 09:13.080
So which files and folders are stored here.

09:13.080 --> 09:18.750
Suppose there is something wrong is happened to a system or a system crashed due to some reason.

09:18.750 --> 09:25.540
So all the files which are record after that are actually medically restored to this folder.

09:25.620 --> 09:31.650
So this folder is used to restore dat files and folders in the next directories or Mendi these directories

09:31.650 --> 09:38.130
called the mounting directory where you can mount the file system if you want to mount Windows file

09:38.130 --> 09:39.800
system or Windows partitions.

09:39.800 --> 09:44.890
Then you can mount inside's directory the next directories the Aral Sea.

09:44.940 --> 09:49.340
So this directory do not consumes any space on your hard disk.

09:49.470 --> 09:55.500
This directory is used to store the information about the processes that are running on your system.

09:55.500 --> 09:59.440
So let's get inside here and see Alice.

09:59.570 --> 10:00.040
OK.

10:00.410 --> 10:03.960
So holds the process ideas inside this directory.

10:03.960 --> 10:07.620
OK these are the processes that are currently running on the system.

10:07.650 --> 10:09.690
The next directory is indirect.

10:09.750 --> 10:14.990
So then you can start the various processes are running on your system.

10:15.060 --> 10:22.290
So you hold the information or stored the data together during that process as a temporary file system

10:22.290 --> 10:23.000
is required.

10:23.070 --> 10:27.720
So these directories used to store the information about that files.

10:27.880 --> 10:34.500
Or you can also click as every file system which is used during the boot process to hold the information

10:34.500 --> 10:44.850
about that processes or the data files for that operations which are running inside from cd ls.

10:45.030 --> 10:49.950
And here you can see it contains the x see episode or ID.

10:50.040 --> 10:55.380
OK these are the process IDs and various files and folders which are required during boot.

10:55.410 --> 10:58.180
So the next directory is directory.

10:58.200 --> 11:00.240
So what is the use of snap directly.

11:00.240 --> 11:00.830
OK.

11:00.910 --> 11:05.730
You see about this concept of snap or even a so called test nappie.

11:05.790 --> 11:06.220
OK.

11:06.240 --> 11:11.620
In our Lego section but for not just Peniston applications relating to snap.

11:11.620 --> 11:11.990
Get.

11:12.120 --> 11:16.110
This is a new concept KBG is introduced by Ubuntu.

11:16.290 --> 11:21.190
So applications related to this concept are installed in this nabû rectory.

11:21.300 --> 11:23.640
OK the next directory is.

11:23.770 --> 11:29.210
Why is the modern Linux distributions introduces this correctly.

11:29.290 --> 11:35.760
OK it is colorize the word you'll find system which stores the information about the devices connected

11:35.760 --> 11:41.120
to system and it allows you to change the information to read it to them.

11:41.130 --> 11:44.470
So let's see what is it is.

11:44.690 --> 11:45.480
LS Ok.

11:45.530 --> 11:50.120
Here you can see shows that there is directly that is blog bus glass.

11:50.150 --> 11:56.580
The demo devices from gate contesting permission for the hardware and you can't change that information

11:56.580 --> 11:57.290
here.

11:57.300 --> 11:59.910
Let's talk about the last directory that is us.

11:59.910 --> 12:04.420
Are these directories used to store the information about where you are.

12:04.430 --> 12:13.410
Secondly as the files about binary executables source files relating to all users which are accessible

12:13.410 --> 12:19.490
to all types of users like in Windows you can see in Windows there is program files folder is preserved.

12:19.530 --> 12:23.690
So like that it is a program file and folder inside Linux.

12:23.700 --> 12:28.370
OK in this manner all the direct is present here in the Linux directory.

12:28.380 --> 12:30.810
Having their own importance and role.
