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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
man man
to find out all about man and the various categories.
to find out all about man and the various categories.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks so much for all your responses.
ASKER
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.
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.
man ls = to get information about ls command
you dont go to /usr/share/man folder for that