Linux - Manual pages
99K views
Nov 28, 2024
Linux - Manual pages
View Video Transcript
0:00
now here we I'm going to talk about a
0:02
very important concept called as some
0:04
man pitches now for example you are
0:06
using some of the commands and you do
0:08
not know how to use the command
0:10
completely you do not know what the
0:12
parameters are the man comes function or
0:14
this man pages will be helpful for you
0:16
them so as we have discussed in earlier
0:18
into the data structures or the
0:20
directory structures we have seen we
0:23
have multiple directories into that we
0:24
have the Lib directory which contains
0:26
all the help files so if you remember
0:29
those help files we are going to use it
0:31
for getting access for the commands help
0:34
now if I have addict particular command
0:36
to check the parameters or to check for
0:38
what the commands purposes we can go and
0:41
use the help commands so let us check
0:43
how this help or the manual pages can be
0:45
used as is commands if you are using you
0:49
can go for getting the number of options
0:51
of this particular commands like we have
0:53
seen LS LS is for list and a space - a
0:57
means for hidden files LS space hyphen i
1:00
I can use for getting the inode numbers
1:02
and a space - L I can use for thee
1:05
getting details of the file so all these
1:07
particular parameters which we have
1:09
which shows me completely different
1:11
output of the same files or or the same
1:13
list the same way there are many
1:16
particular commands which have different
1:17
parameters to give you different outputs
1:20
so those particular options and demanded
1:22
lis options which you have we can check
1:23
by using this manual pages and also this
1:27
is a help file what we have discussed
1:29
there's a help file which is also called
1:31
as a bank pages man pages is a short
1:34
form of your manual pages so if there is
1:37
a command you want to check for you are
1:39
not sure how to use it or then man pages
1:42
will be helpful for you in the sky way
1:45
so how you will be using or how you will
1:47
be getting access to the man pages you
1:49
do not have to move into the library
1:50
just on the prompt you just need to
1:52
define man and apart from that just we
1:55
find the name of the command you want to
1:58
get the spread and get the parameters
2:00
off so let us see how we can check the
2:03
commands a parameter is by using this
2:05
man come on so we can check for manual
2:08
pages by giving man command from
2:10
anywhere so man
2:13
and then we can add the manual page
2:15
command which I'm looking for like you
2:17
know if I want to search for cat command
2:20
and what the parameters are cat command
2:22
has so we can check for it inside the
2:25
different parameters we have it will
2:26
show you why we use the cat command and
2:29
you know what's the uses of it if you
2:31
want to quit out of here plus a rescue
2:34
okay and then if suppose I want to look
2:38
for LS commands so you can also check
2:41
for LS command it's for listing the
2:42
directory content it will show you
2:44
complete details of your complete MLS
2:47
come on alright so you can check for all
2:50
the parameters you have like why we use
2:52
those particular parameters the complete
2:54
descriptions are given over here into
2:56
this thang so these are the lines of you
2:58
know come on we have so also we can
3:01
check for you know some related commands
3:04
are also given like if you have this can
3:06
also check for the info commands so the
3:08
like your man pages you also have the
3:10
info so info will give you the same you
3:14
know information about the complete
3:16
command that is your LS command it's
3:18
complete description about it then it
3:20
will start with the list of your
3:22
parameters into it so either you can go
3:24
for you know complete call you know
3:28
advantage of using your commands by
3:30
using the list so it will show you all
3:32
the particular you know the parameters
3:34
as well as how you will be able to use
3:36
those particular commands and everything
3:38
it is going to show you in details so
3:40
that is the called as a cold utility
3:42
information that we generally get into
3:44
the info then also we have P info you
3:51
can give for looking out the number of
3:53
commands you generally have and which
3:56
command can be used for what purpose you
3:58
can select any of the command and you
3:59
can get access to it right so these are
4:02
the number of commands and really we
4:03
have we can use into the Linux operating
4:05
system we can get the information about
4:08
it by just be info right so this is our
4:13
the help file generally we get into the
4:15
Linux operating system we have talked
4:17
about info we have talked about here
4:20
being full and your man pages or if
4:25
suppose you do not want to use any of
4:27
the command you can also press f1 so f1
4:29
will help you to get the help so I can
4:32
check I have pressed the f1 and it was
4:35
directly providing mediator nominal
4:36
helps so it will show me how to execute
4:38
a particular command it will show you
4:40
how I can open the terminal step-by-step
4:43
what exactly you can do so for each and
4:47
every you know help you require you can
4:50
also go for your f1 health which will be
4:52
a graphical help provided to you so
4:55
again you can also use help command so
4:59
it will show you all the particulars
5:01
commands and live each we can use at
5:03
this particular prompt so this are the
5:07
you know commands we have seen that is P
5:09
info in for man and then we have seen
5:13
how we can get the help command or using
5:15
me f1 we can also get the help page
5:18
through the browser so f1 will only work
5:21
into the graphical console but not into
5:25
the command line console so if you are
5:27
going into command line console and if I
5:29
press f1 it won't do anything it will
5:30
just give me another and a beep we can
5:33
see now if here I can use the help
5:36
here I can use demand pages
5:42
okay sorry man and if you know c'mon I
5:46
require so I can get all the kind of
5:48
help into the command line terminal
5:49
moving back to our graphical terminal by
5:52
presing all control and f1 so this is
5:56
the hub command generally we have into
5:59
the Linux operating systems and this
6:01
helps you generally you get from the Lib
6:03
directory which we have seen into the
6:05
directory structure
6:08
so here we have completed with your man
6:11
failures and getting help from your
6:13
Linux operating systems so into next
6:15
videos I'm going to show you some a bit
6:17
administration of your next operating
6:19
system so how we can create and manage
6:22
the user account and a group records so
6:24
keep watching
#How-To
# DIY & Expert Content
#Programming