Solved

what is the command to save a man page to a file ?

Posted on 2006-06-16
7
383 Views
Last Modified: 2013-12-27
I am trying to read a long man page

So I want to save it in a file and  read it

what is the command to save a man page to a file ?
0
Comment
Question by:dmshawkat
7 Comments
 
LVL 37

Accepted Solution

by:
Harisha M G earned 64 total points
ID: 16924319
Hi, have you tried:

man commandname > filename

---
Harish
0
 
LVL 37

Expert Comment

by:Harisha M G
ID: 16924332
For example, if you want to see the man page of command "cd" then:

man cd > cd.txt
0
 
LVL 23

Assisted Solution

by:brettmjohnson
brettmjohnson earned 62 total points
ID: 16925220
You can use man -t for better formatting for printing.
You can use man -P to select a better pager for easier reading [you should at least use the 'less' pager].


0
 
LVL 7

Assisted Solution

by:imacgouf
imacgouf earned 62 total points
ID: 16925381
This article from Peachpit may also be useful to you..
http://www.peachpit.com/articles/article.asp?p=430844&seqNum=2&rl=1
Show you
Printing man Pages
To convert a man page to PDF:
To convert a man page to HTML:

You can also get man page directly online

http://bama.ua.edu/cgi-bin/man-cgi
http://socrates.berkeley.edu/cgi-bin/man.cgi?section=keyword&topic=.

0
 
LVL 3

Assisted Solution

by:anumalas
anumalas earned 62 total points
ID: 17029881
Hi

You can use the follwing way also... if you want to save multiple commands help in a same file...

at shell prompt

$spool /myman/manhelp.txt

$ man mount

$ man ls

$spool off

Hope this is helpful :)
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
netstat -a in AIX unix 8 42
what is a good general partitioning scheme for RHEL? 23 128
AIX    Volume group Auto ON/OFF question 2 99
Write an app 10 70
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now