OK, now let's dig into Kelly Lin, excuse it and explore some basic Linux command.
Now from here up in a minute.
OK, now from here, if I go to the file preferences, go to the color scheme here.
You can change it to something else as you want.
Actually, I prefer green on black now not to.
Sounds like heck.
To be honest, but actually it's better for my eyes.
So if I click here.
Yeah, you can see that now it is better.
But I actually let's increase the font size control shift the black sign.
Yeah, so yeah, I think this is better.
It's increased this and this or it.
Now, the first moment it will be less less, it is the command used for listing the fight so as you
can see else and hear all the fights or directories I have on the current path.
OK, so it has to list comments.
So I'll ask to list fights.
OK, now we have clear so you can see that if I type enter and as you can see now, you can see that
the screen is becoming chaotic.
So to clear the screen, we would put the clear command clear.
Simple as that.
OK, so we learn.
Tell us A..
OK, now what if I want to learn more about specific commands?
So, for example, the last command, I want to read more about it, about its option, about its M
and features, whatever, so we will use them in command.
The main command is used to for manual.
OK, so man, unless OK.
It would show us what is the US command will do.
So this directory contains, as you can see else, this is the syntax or synopsis unless option, whatever
options, then the fine, whatever fine.
So you can see that we have a lot of descriptions that we all all the R P, C F, whatever, and you
can read more about it, as you can see from here.
Now, to quote from this, you can see that police ask for help or cure for quick.
So it is quite all right.
So men clear, as you can see clear the terminals screen and it has a lot of options Dash T Type V X,
whatever.
OK.
Cue to quit now.
Men.
So this is to show the manual for the men who beach.
OK.
So this is men.
This is an interface to the System Preferences menu.
OK, so you can see that it has a desk that's capital up l w options.
Right?
All right, cool.
So far, so good.
OK, now if I type, I guess you can see that I am here currently.
I want to know where I am currently.
So if I type B W D, which is print working directory, it will show us that I am inside the home slash
Kelly.
OK, so if I type men p wd here you can see that it will bring the name of the current working directory.
OK, so print working directory or the current directory and it has a lot of options that dash l, dash
p, whatever you can.
Read more about it.
OK, now let's clear the screen again.
Right now if I type and as you can see that I am here inside the home caddy when I type B W D OK, the
Caddy Home Directory.
Now I want to go to the desktop.
OK, it is here.
OK, time to do such a thing.
I will use the CD Common Men CD again.
You can see that some of the comments are not or don't have manuals, so like the said, because it's
a symbol command, so it has not so seedy, then the name of the directory.
OK, so if I type unless I want to go to the desktop?
OK, but remember in Linux, this is a case sensitive so CD desktop that must be written.
Now you can notice that if I type desktop, I can press the tap button.
So if I press it, it would autocomplete the sentence or the name of the folder or directory.
In Linux, we call the directory.
In that folder.
In Windows, we called it folder.
OK, so CD desktop.
Now you can see that.
Yeah, from here, from tilde marked to it, change to the desktop.
By the way, the tilde marking the tail DeMarte here means it is the home directory of the current user,
which is, in our case, it is the carrier user.
OK.
No worries, we will talk about these details later on, but for now, follow me.
OK, now, if I want to go back, I will go see.
OK, now that means the bear on directory.
Again, we'll talk about this later on.
No worries.
OK, so here we will go back to the ban directory of the desktop and and this is the home directory
of Kali Linux user.
OK, now here what I want to make a new directory, I will use the command and key dial or directory.
Saman MC Dial AC.
This is to make directory and we have other options, as you can see here.
So McDeere and let's name artist and blitz, as you can see here, it is just so CD to test.
You can see now we are inside the disk to directory.
OK, so far, so good.
Now you may ask me this directory is empty.
How did we go to the DICT or to the dot?
There is another thing called the which is the current directory.
How did we go there?
It is not even exist.
No, actually, it is exist, but it is hidden.
So if I type LS Dash a K, this will show all the directory.
So how did I know that?
Just open the manually page and press, don't ignore entries.
Start with that.
As you can see, because the dot here in Linux, it will be considered a hidden directory.
OK?
Or hidden files?
So when I type, alas, it will not be shown, but actually it would show everything which is good and
do it, the tier one single dot, which is the current directory, which is the highest directory.
Now you may ask me, but what is the use for this?
This is has this has no meaning.
No, we would talk about it later or no worries and the not, which means the brand directory of the
current directive, which is the brand directory of this, which is, in our case, the tilde.
And we already mentioned that this means the home directory of the current user, which is clearly user,
which is the county home page, so CD.
It will go to the and directory.
And you can see we returned back.
All right.
So far, so good.
Now let's clear the screen now.
Also, there are other options like DSP.
Which means create a barren there.
So, for example, I have to here, right?
So what if I want to create this tool, as you can see and inside it, I want to create this theme like
this.
This will not work because this tool is not exist in the first place.
So for that case, I will put that speech, which is right, and this will create this tool.
As you can see, if I type a PC to a directory, it will show us the content or that, yeah, the content
of this tool is history.
The folder we have created.
Now let's talk about another command, which is the wish command.
This is to search through the directories that are defined in the best environment.
So if I type eco, this is a command used to print a text.
So if I type eco high, it will bring tie, as you can see in double quotation, if I type equal high.
Also, it will print it, but if I type.
Equal.
Shift high now you can see that the shift for the sign means that this is available in clinics.
And this variable is not a sign, but we have environment variables called the back OK.
So if I type it, it would see.
You can see that this variable contains a listing of directories that clearly search when a command
is issued without its back.
By the way, this is not intended next only.
This is used with Debian or Linux generally.
OK, so Debian based or it had maize and or whatever Linux distribution?
OK, well, some of them doesn't use this hour.
Have a special meaning, whatever game.
But I'm talking about the popular or their popularity and distribution anyway.
So if I type l'as here, you can see this is a compact, by the way.
By the way, this is a utility that exists on the system that should be inside here.
So if I type e call Beth, it should be either here it is, a local spin or usr local bin or user a
spin or whatever.
OK, so it must be inside one of these directories.
So if I type which by the way, men, which we learned that which is you can see it will locate the
command where it is so which and as as you can see and is earliest to unless dash color or which CD,
you can see that these are built in commands.
So let's look about another command.
So for example, which by button is a command and you can see it is inside the user bin.
But then here where it is located, so I'm using which comment.
OK.
By the way, the CD and these are built in command, so most likely they are not existed anywhere or
they are existed, actually.
But we will talk about these later on.
No worries.
Now we have another command called Locate Men, locate like this.
This is to find fights by name quickly.
OK.
So as you can see in which to the database met by update D.B.
So, for example, locate Python, you can see it would start looking for all or anything called Python.
As you can see now, this list to be updated, we must use this command.
Update DB.
OK, like this, so but is it you can see permission denied for that case because I'm throwing, I'm
updating the whole system, but I'm updating the database from the whole system, so I just use the
pseudo command.
No worries.
We will talk about this later on the suit command, by the way, if I type man sudo.
This is to execute a command as another user.
So sudo update db.
And here it will ask for the password.
Of course.
Which is Caddy one, two, three four, five six.
By the way, this is a stupid bastard.
But anyway, this is just for the sake of this course.
Now we updated the database, so look it again by itself and sorry and am mistake this?
I have a mistake.
Yeah, it will show us the same result.
By the way.
OK.
Now, finally, we have another comment, I know we took a lot of time, but these are just the basics.
No worries.
We would have what we learned practically.
Step by step and we will repeat it over and over.
So you will get used to it and you will muster it in no time.
Trust me.
Now finally, we have that final comment.
So men find.
This is to search for an end directory or hierarchical.
So, for example, find slash.
This is where we want to search next name and the name or two will be by phone, for example.
But you can see that it will start showing us permission denied, permission denied.
All right.
So we learned that we already left.
What do we do?
What should we do, which is using this?
We do, as you can see.
It would show us that it found some, but here we got permission denied for this, for some reason.
For now, we were not handed it because this is a little different.
We'll talk about it later on.
So we found what we want.
All right, cool.
So far, so good.
No, I will provide you with exercises.
On what we have learnt here in this lecture, so you will practice with me.
OK, now I recommend you to do the exercises because it would be very useful for you.
As they say, practice makes perfect.