So I have started my parrot operating
system and I have successfully opened up a terminal
as well. As you can see over here now over here.
I'm going to Simply type LS and you
can see there are a lot of files and folders made
into this drive now, let's
see. What is this actually so let me clear the screen for
you and let me simply type PWD. So
PWD tells us the present working directory and
you can see over here. That slash root
is the present working directly on all the files
and folders that have been created are inside the
root users home directory, which
is slash route.
So I hope you guys understood this if I make
this as a tree command you can see there are in
total 627 Derek trees in my computer and three to
seven four files that have been created by the root
user in his root directory. Now one
thing that you should understand. Is that other users.
In this operating system cannot make files in
the root directly. For example, let me switch the user to
udv.
So you can see it says the user does not exist. No
problem. So let's quickly create a user called as udemy.
Let us also create a password
for that user.
Now, let me switch the user quickly and you
can see the files are here. So let me see if the
user udemy can create a file over here.
So let's say we call the file as udb file Dot txt.
And this is a file.
And you can see it says permission denied which
basically means that any other
user cannot create files in the root uses
home directory until an unless they have
been given specifics at of permissions. So by default,
they cannot make files or this directory
is not writeable. Yes, they
can read it. And yeah, they have the read permissions
over here. So I hope you guys understood what is root
directory and how users cannot
create files into this home
directory apart from the root. Use. Thank you.