Help commands now, what are the help commands that are used in a Linux environment that will give you
some of the information or some help about other commands?
There are three types of help command that are used in most of the Linux distributions.
The first one is what is?
So whenever you run a command, what is followed by the command that you want to inquire about, you
will run warez and space, then command.
This will give you a quicker, a shorter version of the information about the command that you're looking
for.
The next one we have is the command, whichever command you want or let's say else space and then dash,
dash help.
This will give you a little a bigger a longer version of the help of it.
More details about that, the options about their command.
And the last one is Man, which stands for manual manned space, followed by the command, the command
name itself.
When you run that, you will get a complete full listing of the command descriptions to help about it.
So now let's look at our Linux machine and we'll see how these commands work.
So we are here in our Lennox machine, let's do the clear and will find out who we are again, who am
I?
We are self you type clear the first command.
We learned in Iran is what is it's all one word space, let's say.
Else this will tell you the letter is listed directory contents.
The next one will run is what CD.
That's what tells you the Basche built in command.
The CD is abash built in command.
Meaning when you have your Linux system installed, it comes in as people command.
And what it does, it change the working directory from one directory, of course, to another.
Let's try the same command to what as Peter tells you, print name of current working directory return
working directory name.
So why do we have two different answers?
For one command is because we have two different sources or two different dictionary already installed,
or you could say two different Manel pages installed on our on our Linux distribution.
There are there could be more there could be two, three, four or five, depending on what type of
command it is and what kind of description it has.
Let's look at the next command.
Let's say let's dash, dash help.
So there you go, it gives you a little longer description of your Ellis command and it tells you all
the different options that are associated with this command.
So, of course, right here, that's where it starts and it goes all the way down and tells you why
it is a option, a uppercase option and so on.
We could also run, see mode, dash, dash, help.
I remember C or D command is the change my command of a change, the permission of a file.
So when we do help we're going to see it tells you gives you a quick description starting from here.
It tells you that change the mod of each file to that are a file change to modify each file to mode
and a few different options.
Same thing.
You run this command with other different command space data help.
It will give you the information about the command.
Now, the last one we're going to look at is the man command man stands for Manuel and then space,
let's say Ellis' and you run this command.
There you go.
It will give you a very nice descriptive way, a nice formatted way of the user command information
tells you the name, the synopsize the description at each option of the command.
You could do space to go on each page, hit base, bar, space bar.
Every time you want to quit out, just hit cue and you're going to be out of it.
Same thing when you do a man command and then you do enter and you're going to see the exact same thing,
different name of the current working directory.
And what are the options?
It has my favorite command and all those help commands is this man command because it has exactly the
information that detailed information of each command.