WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.100 --> 00:00:07.300
So I have started my parrot operating

1
00:00:07.300 --> 00:00:10.500
 system and I have successfully opened up a terminal

2
00:00:10.500 --> 00:00:13.600
 as well. As you can see over here now over here.

3
00:00:13.600 --> 00:00:16.400
 I'm going to Simply type LS and you

4
00:00:16.400 --> 00:00:20.000
 can see there are a lot of files and folders made

5
00:00:19.300 --> 00:00:22.400
 into this drive now, let's

6
00:00:22.400 --> 00:00:25.300
 see. What is this actually so let me clear the screen for

7
00:00:25.300 --> 00:00:28.600
 you and let me simply type PWD. So

8
00:00:28.600 --> 00:00:32.100
 PWD tells us the present working directory and

9
00:00:31.100 --> 00:00:34.900
 you can see over here. That slash root

10
00:00:34.900 --> 00:00:37.400
 is the present working directly on all the files

11
00:00:37.400 --> 00:00:41.000
 and folders that have been created are inside the

12
00:00:40.500 --> 00:00:43.300
 root users home directory, which

13
00:00:43.300 --> 00:00:44.600
 is slash route.

14
00:00:45.400 --> 00:00:48.400
So I hope you guys understood this if I make

15
00:00:48.400 --> 00:00:51.300
 this as a tree command you can see there are in

16
00:00:51.300 --> 00:00:54.700
 total 627 Derek trees in my computer and three to

17
00:00:54.700 --> 00:00:57.200
 seven four files that have been created by the root

18
00:00:57.200 --> 00:01:01.200
 user in his root directory. Now one

19
00:01:00.200 --> 00:01:04.300
 thing that you should understand. Is that other users.

20
00:01:05.100 --> 00:01:08.300
In this operating system cannot make files in

21
00:01:08.300 --> 00:01:11.200
 the root directly. For example, let me switch the user to

22
00:01:11.700 --> 00:01:11.800
 udv.

23
00:01:12.400 --> 00:01:15.300
So you can see it says the user does not exist. No

24
00:01:15.300 --> 00:01:18.700
 problem. So let's quickly create a user called as udemy.

25
00:01:18.700 --> 00:01:21.300
 Let us also create a password

26
00:01:21.300 --> 00:01:22.400
 for that user.

27
00:01:23.700 --> 00:01:26.400
Now, let me switch the user quickly and you

28
00:01:26.400 --> 00:01:29.800
 can see the files are here. So let me see if the

29
00:01:29.800 --> 00:01:32.100
 user udemy can create a file over here.

30
00:01:32.100 --> 00:01:35.700
 So let's say we call the file as udb file Dot txt.

31
00:01:35.700 --> 00:01:38.400
 And this is a file.

32
00:01:39.300 --> 00:01:43.100
And you can see it says permission denied which

33
00:01:42.100 --> 00:01:45.200
 basically means that any other

34
00:01:45.200 --> 00:01:48.700
 user cannot create files in the root uses

35
00:01:48.700 --> 00:01:51.200
 home directory until an unless they have

36
00:01:51.200 --> 00:01:54.500
 been given specifics at of permissions. So by default,

37
00:01:54.500 --> 00:01:58.000
 they cannot make files or this directory

38
00:01:57.300 --> 00:02:00.300
 is not writeable. Yes, they

39
00:02:00.300 --> 00:02:03.500
 can read it. And yeah, they have the read permissions

40
00:02:03.500 --> 00:02:07.000
 over here. So I hope you guys understood what is root

41
00:02:06.400 --> 00:02:10.300
 directory and how users cannot

42
00:02:09.300 --> 00:02:12.300
 create files into this home

43
00:02:12.300 --> 00:02:15.300
 directory apart from the root. Use. Thank you.
