The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-15-2005
Registered User
 

Join Date: Jun 2005
Location: New York City
Posts: 95
man <cmd> >> cmd.txt

I've noticed most of my postings here are because of syntax errors.
So I want to begin compiling a large txt file that contains all the "man <cmd>" of the commands I most have problems with. I ran a "man nawk >> nawk.txt" but it included a header/footer on each "page". Anyone know how I'd be able to retrieve a "man" but in an easier-to-read format (after redirecting it into a txt file). This way I won't run into as many syntax errors as I do now.
Reply With Quote
Forum Sponsor
  #2  
Old 06-15-2005
vino's Avatar
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,698
Why do you want to re-invent the wheel again ?

A quick google search on 'unix man page' will give you many a site which post the man pages of unix.

The first result of the google query gave me this URL.

http://www.rt.com/man/

Check it out.

It will help you.

Vino
Reply With Quote
  #3  
Old 06-15-2005
Registered User
 

Join Date: Jun 2005
Location: New York City
Posts: 95
oh

Oh, thank you.
I just started coding shell scripts about a week and a half ago.
So I'm unaware of some of the readily available resources.

I guess -- I was worried that maybe each unix machine has its own version of the "unix manual" that is tailored to the flavor of the shells on the machine.
Reply With Quote
  #4  
Old 06-18-2005
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
I also don't understand what the point of appending loads of man pages into a text file is?!

Surely scanning through a huge file for the command your interested in is far slower than just running "man mycommand" anyway??

The man page itself has nothing to do with the shell (except for the manual pages for shells, of course ). They will vary across Unix flavours, however, in both layout and content, as most commands differ slightly (or hugely) in terms of syntax and functionality across flavours.

Cheers
ZB
Reply With Quote
  #5  
Old 06-18-2005
google's Avatar
Moderator
 

Join Date: Jul 2002
Location: Atlanta
Posts: 740
For what its worth, try man man for a man page on using man!
Reply With Quote
  #6  
Old 12-01-2005
Registered User
 

Join Date: Jul 2005
Posts: 2
try this command

man cmd |col -b > cmd.txt

it works in my solaris platform.
Reply With Quote
  #7  
Old 12-01-2005
Registered User
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 401
You might also run catman (on solaris anyway ) Make sure you have lots of time and some space on the disk for the extra files. Then you can run apropos [keyword] and all the relevent man page subject lines will be displayed. It'll help you when you're not sure of the command. Of course if it's too generic a word, you'll get a whole lot of output

Carl
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:33 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0