LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2009, 05:53 PM   #1
AndeAnderson
Member
 
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Rep: Reputation: 30
Question Quick reference for man pages?


I know that there are many-many man documents which can be accessed through the Terminal. However, the terminal access is a very limited, and tedious, way to glean information.

Sometimes, it is hard to find the page referenced.

It is a little hard to only be able to read the information through the terminal window only. Plus, it appears to be hard to just print out the information pertaining to your questions.

For example, the smb.conf(5) manual page alone is over 7,000 lines.

Where can these man pages be found in a .doc, .pdf, .txt or even an html format? That would make it a lot easier when working on the Linux system if you could have it printed out and in front of you while trying to work on the .conf files.

When I was able to print out the instructions for the ifconfig and route commands I was able to configure my network quickly by referencing them while typing in the commands.

It would be nice to be able to that for the other Linux applications.

Thanks
 
Old 10-07-2009, 06:03 PM   #2
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,712

Rep: Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518
To make a pdf file,
man -t command_name | ps2pdf - command_name.pdf

To make a PostScript to print,
man -t command_name > command_name.ps

To make an HTML file,
zcat $(man --path command_name) | man2html > command_name.html
 
Old 10-07-2009, 06:16 PM   #3
Doculus
LQ Newbie
 
Registered: Oct 2009
Distribution: Gentoo
Posts: 29

Rep: Reputation: 17
Khmmm... I'm exatly working on this Just check my signature
The site is far from complete, but the plans are...
But it's so new that google did not indexed it yet
Check it! I'm interested in your opinion.
 
Old 10-07-2009, 06:22 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
In google put in what you are looking for, as in "man command_name" (minus the quotes). The pages are on the web.
 
Old 10-07-2009, 06:25 PM   #5
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

This is pretty good indexed and complete:
Linux Man Pages.

Kind regards,

Eric
 
Old 10-07-2009, 06:27 PM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Not saying you're not, but becoming familiar with PAGER is very helpful to getting the most out of your man pages.

If you still don't want to use the terminal and don't want to do the conversion work yourself, I think KDE (and Gnome?) convert them for you via their help systems.

You can search the web just like a command 'man smb.conf' returns the man page as the first hit.

The pages at http://linux.die.net/man/ will generally be a top return.

Also, if you go to http://directory.fsf.org/ or http://www.gnu.org/ you can find things like http://www.gnu.org/software/bash/manual/ - you can replace 'bash' in the url with many other things (or otherwise search for them) and get a variety of documents in a variety of formats.
 
Old 10-07-2009, 06:40 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
I'll second http://linux.die.net/man/
 
Old 10-07-2009, 08:16 PM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,899
Blog Entries: 27

Rep: Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186
Hi,

If you want to 'buy printed copies of some manuals' to support Free Software Foundation; this helps support Free Software Foundation activities.

Quote:
excerpt from 'Introduction to the Command Line'; This manual is an introduction to using the command line with a focus on empowering GNU/Linux beginners. It is meant to be fun and encourage the reader to play. For instance features are introduced in the context of useful tasks. Rarely used features are not discussed. The main topic is the GNU/Linux Bash shell.
 
Old 10-08-2009, 02:23 AM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Maybe you'd like man2pdf
 
Old 10-08-2009, 03:14 PM   #10
AndeAnderson
Member
 
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Original Poster
Rep: Reputation: 30
Question

Quote:
Originally Posted by XavierP View Post
In google put in what you are looking for, as in "man command_name" (minus the quotes). The pages are on the web.
Actually, using google is one of the least helpful things there is for finding specific man pages.

When I google 'smb.conf(5) manual page' I receive over 10,000 results and most of them say something like
Quote:
You should read the # smb.conf(5) manual page in order to understand the options
They say I should read the page, but none actually take me to the page.

Google has become a great catch-22 search engine. Especially now that it will list pages that only have keywords made of wild cards, like 'bi*'. The worst one is Nexttag which continues being listed even when they have nothing to do with the item searched for.
 
Old 10-08-2009, 03:23 PM   #11
AndeAnderson
Member
 
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Original Poster
Rep: Reputation: 30
Thumbs up Outstanding conversion utility!

Quote:
Originally Posted by DavidMcCann View Post
To make a pdf file,
man -t command_name | ps2pdf - command_name.pdf

To make a PostScript to print,
man -t command_name > command_name.ps

To make an HTML file,
zcat $(man --path command_name) | man2html > command_name.html
Oh Man. That is a GREAT Solution to my search! I didn't even have to hunt for the document after it was converted. And, since it was the man page found in my Debian installation, it should even have the right Debian commands.

Thank You so much!
 
Old 10-08-2009, 06:33 PM   #12
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,899
Blog Entries: 27

Rep: Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186
Hi,

Quote:
Originally Posted by AndeAnderson View Post
Actually, using google is one of the least helpful things there is for finding specific man pages.

When I google 'smb.conf(5) manual page' I receive over 10,000 results and most of them say something like

They say I should read the page, but none actually take me to the page.

Google has become a great catch-22 search engine. Especially now that it will list pages that only have keywords made of wild cards, like 'bi*'. The worst one is Nexttag which continues being listed even when they have nothing to do with the item searched for.
I just google/Linux 'smb.conf(5)' and the top posts were the man page references. I suggest you use 'google/linux' for Linux related queries and you will find things more refined. Even better if you set your search keys a little finer.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does anyone have a list of good Solaris reference pages? polarbear20000 Solaris / OpenSolaris 5 06-03-2007 04:01 PM
LQ man pages simcox1 LQ Suggestions & Feedback 1 08-06-2006 10:25 AM
Man pages, how to create and reference them yewchong Linux - Newbie 7 03-23-2006 06:33 AM
man pages? synaptical Debian 4 06-13-2005 09:16 PM
What do you mean by MAN pages? inspectreo Linux - Newbie 2 05-08-2005 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:55 PM.

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