Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-29-2004, 12:01 PM   #1
Senior Member
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,690
Blog Entries: 9

Rep: Reputation: 45
manpages are your friend-but have you ever tired to print one ?

If you've been here at LQ for any length of time, and posted a question or two, then there's a strong possibility that someone will have suggested that you read the manpage for whatever.

For example, if you open a terminal window, as at the $ prompt, type man man you should see the man page for man - it tells you about man pages.

Now, if like me, you hate reading complex, unfamiliar, formatted documents from a screen, then once you know which man page you want/need to read,

in a terminal type

man <name> | col -b > ~/manpage.txt

Just remember to change the <name> part to the command or whatever you need to read. If you then look in your home directory, you should have a copy of that man page, called manpage.txt

You should then be able to print it out. Try it, with maybe man ls | col -b > ~/manpage.txt or maybe man dmesg | col -b > ~/manpage.txt

If you need more than one, you can change the command a little so the output txt message has a different name, in a moment of childishness I tried man dmesg | col -b > ~/dogshit.txt and of course, that produced the output of man dmesg as a text file called dogshit.txt

Ah, it's so much nicer to be able to read these bloody things on a piece of paper.

Maybe this might help you a little ?


Old 02-29-2004, 02:34 PM   #2
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
or you could bypass the redirecting to the file all-together and just pipe the output of man directly to your print spooler.

man <name_of_program> | lpr -P HP_CLJ4500_DN

Last edited by megaspaz; 02-29-2004 at 02:51 PM.
Old 02-29-2004, 02:42 PM   #3
Senior Member
Registered: Oct 2003
Posts: 2,678

Rep: Reputation: 240Reputation: 240Reputation: 240
Another trick if you don't want to read man pages in a console is to open konqueror and type the foloowing in the Location filed:


This will display the man page in konqueror where you can scroll through the entire page and find what your looking for easier. You can also print the page directly from konqueror.

Last edited by kilgoretrout; 02-29-2004 at 02:44 PM.
Old 03-01-2004, 12:31 PM   #4
Senior Member
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,690

Original Poster
Blog Entries: 9

Rep: Reputation: 45
Well done megaspaz and kilgoretrout,

Excellent addititions. I'm all for anything that will make things easier with documentation for newbies (Ha, that's me included). Even if only to make using existing doc's easier to read.

keep up the good work both!




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
manpages in yelp yadu Debian 0 11-09-2005 09:00 PM
NPTL manpages vghiware Programming 1 09-19-2005 11:58 PM
manpages not working plosiv Linux - General 1 11-11-2004 11:57 AM
Slackware manpages to PDA? loadedmind Slackware 2 07-29-2004 08:09 AM
more about manpages bigjohn Linux - Newbie 1 03-04-2004 10:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 PM.

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