Link to home
Start Free TrialLog in
Avatar of rdashokraj
rdashokraj

asked on

Linux MAN page question

Hello,

I have couple of question regarding using Man pages in Linux.

1. When i get into the folder /usr/share/man, I could see folders such as man1, man2, man3, man4 ......man9. what are all those?  In some article, I noticed something like "refer man5 page" etc. How can i do that?

2. Can I convert the Man pages into a file so that I can take print out of it or save it for future reference.


Thanks,
Ashok
SOLUTION
Avatar of fosiul01
fosiul01
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
if you want some informaiton, you type

man ls = to get information about ls command
you dont go to /usr/share/man folder for that
Avatar of Tintin
Tintin

man man

to find out all about man and the various categories.

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rdashokraj

ASKER

Thanks so much for all your responses.
Hi fosiul01,

In the script given in the specified page: http://www.cyberciti.biz/tips/how-do-i-print-out-a-linux-man-or-info-page.html
has one small bug.

Instead of this line,  man $i  col -b > $OUTDIR/$i.txt
the syntax should be as  man $i | col -b > $OUTDIR/$i.txt

The pipe is left out in it.

Just want to bring to your notice.