LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-29-2007, 04:46 PM   #1
josefarid
LQ Newbie
 
Registered: Jul 2007
Location: Alajuela, Costa Rica
Distribution: Mandrake
Posts: 3

Rep: Reputation: 0
Smile man pages PDF file


I hope you are doing great! I am a Linux beginner. I have been looking for documentation regarding MAN pages but I can't find a PDF file that contains the excellent documentation that is on line in "Super Man Pages" web side (http://www.linuxcommand.org/superman_pages.php). I was wondering if some of you know some link where I could download the same information regarding Man Pages but as a one single PDF file.
 
Old 07-29-2007, 06:11 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Your posted link is bad. You might consider printing out manpages.
man -t mount | lpr

Another thing you can try is reading manpages in the konqueror web browser:
man:/nsswitch.conf

You can also read info pages this way as well
info:/coreutils

For some packages such as coreutils, findutils & binutils, you might consider installing the source package and producing a print worthy pdf of their info manuals using the texinfo source.
Once you get the hang of it, it isn't that hard.
For rpm source packages
A) install src.rpm package
B) from the SPECS dir run "sudo rpmbuild -bp <.spec file>" to apply the patches
C) in the BUILD directory, cd to the source directory and run "./configure" to produce a Makefile
D) in the same directory run "make pdf". There should be a .pdf file in the doc/ directory.

If you download a current generic source tarball of a package, you won't need steps A & B. Not all packages install info files or have a PDF target.

The coreutils package contains the most common commands such as ls, cat, tac, dir, etc. It is 201 pages long and makes an excellent reference.

The gawk package produces a 351 page book "GAWK: Effective Awk Programming".
 
Old 07-29-2007, 07:46 PM   #3
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,879

Rep: Reputation: 263Reputation: 263Reputation: 263
Here are man pages online
http://linuxcommand.org/man_pages/
http://linuxcommand.org/superman_pages.php

You can get .pdf output here.
http://www.freebsd.org/cgi/man.cgi
 
Old 07-29-2007, 10:23 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Install pdftk
then do:
Code:
find /usr/man/man1 /usr/man/man8 -type f |awk '{print gensub( /\/.*man[18]\/([^\.]+)\.*.+/, "\\1","1",$1)}' |sort -u > ugh
for i in `cat ugh`; do echo "Translating $i :"; man2dvi $i > $i.dvi; done
for i in `ls *dvi`; do dvipdf $i;done
pdftk *pdf cat output man.pdf
As for the find command above: add other man locations as you wish :}

[edit]
The approach in the find is (in respect to the varied sections of man)
somewhat naive ... it ignores the possibility that there could be two
different man-pages by the same name in 1 and 8. Feel free to change
that :} ... I didn't work it out properly because I don't really want
those PDF man-pages ;} ... my initial idea to use dvips and psmerge
and then convert the lot to PDF once they're in one PS file didn't work
out - for some reason psmerge produced garbled results.
[/edit]



Cheers,
Tink

Last edited by Tinkster; 07-29-2007 at 11:05 PM.
 
Old 07-30-2007, 09:14 PM   #5
josefarid
LQ Newbie
 
Registered: Jul 2007
Location: Alajuela, Costa Rica
Distribution: Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks all of you a lot for your support! You are amazing...have a nice day!
 
Old 07-31-2007, 01:14 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Out of curiosity ... did my sequence a) work for you and did
b) the way I described it makes sense? :}


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
man pages in text file serji Linux - Newbie 6 10-20-2003 04:59 PM
man pages in text file serji Linux - Software 6 10-20-2003 04:35 PM
Linux MAN Pages in PDF format SolarDegree Linux - Newbie 5 03-23-2003 02:01 PM
Linux MAN Pages in PDF format SolarDegree Linux - General 1 03-23-2003 08:53 AM
MAN Pages..can I export to a text file? phil1076 Linux - General 4 10-29-2001 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration