Few tips for Linux User related to MAN page
To read a man page general command is:-
#/$man
example :-$man ping
The above command gives you a name synopsis and short description about that command , list of option with that command and the author name.
The above command gives you a name synopsis and short description about that command , list of option with that command and the author name.
it also display ping(8).Here 8 is a section.
The manual page categorized into several section.
1 - user commands
2 - System calls
3 - Subroutines
4 - Devices
5 - File Formats
6 - Games
7 - Miscellaneous
8 - System Administrator
n - New
x - X Window
For ubuntu man page configuration file is : /etc/manpath.config
for other system (Red Hat) /etc/man.config
1.Search a string with in man page:
$man -k command
2.Convert man page to other format(by default post script format)
$man -t command
suppose you want to convert it into pdf format then
$man -t ping|ps2pdf -> ping.pdf
3. Find a command form a particular section:-
$man command
eg.
$man 3 printf
4. Small description(One sentence) about any command.
$man -f command
eg.
$man -f ifconfig
The manual page categorized into several section.
1 - user commands
2 - System calls
3 - Subroutines
4 - Devices
5 - File Formats
6 - Games
7 - Miscellaneous
8 - System Administrator
n - New
x - X Window
For ubuntu man page configuration file is : /etc/manpath.config
for other system (Red Hat) /etc/man.config
1.Search a string with in man page:
$man -k command
2.Convert man page to other format(by default post script format)
$man -t command
suppose you want to convert it into pdf format then
$man -t ping|ps2pdf -> ping.pdf
3. Find a command form a particular section:-
$man
eg.
$man 3 printf
4. Small description(One sentence) about any command.
$man -f command
eg.
$man -f ifconfig
valo hoyechhe.....
ReplyDelete