How to create Linux manual page


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to create Linux manual page
# 1  
Old 04-13-2010
How to create Linux manual page

Hi,

Anyone can tell me how do i create Linux manual page.

I copied ls manual page from /usr/share/man/man1/ls.1.gz

and unziped ls.1.gz
got one file ls.1

If i apply man ls.1 it is displaying man page of ls.

Similarly i want to create myExe.1 file ,
man myExe.1 should display help file for myExe.
# 2  
Old 04-13-2010
# 3  
Old 04-13-2010
Hi.

If you want to know the details of [tn]roff format and man macros, you can, indeed, write your own man pages in that low-level format.

I usually like to have the computer do the heavy lifting for me. I suggest you look over these:
Code:
pod2man (1)          - Convert POD data to formatted *roff input
txt2man - Converts flat ASCII text to man page format

they will take in the POD-format or plain text and create the roff-format files.

Best wishes ... cheers, drl
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What is a page from Linux point of view ?

Versions : RHEL 6.xx /OL 6.xx I am trying to understand what a page is in Linux? The concept should be same in Unix as well, I guess The below doc says "A page is a block of virtual memory. A typical block size on Linux operating system is 4KB " ... (4 Replies)
Discussion started by: kraljic
4 Replies

2. AIX

How to Use a UNIX Shell Script to Create an HTML Web Page?

dear friends , in my work i have to monitor some system performance in hourly basis by runing some commands , for example (lpstat) to know that all the queue is ready how can i create webpage and connect it with the server (AIX operating system) and make this page refreshed every 10 second and... (12 Replies)
Discussion started by: rami abusweilei
12 Replies

3. UNIX for Advanced & Expert Users

Linux Page Sharing

Hi, I have following doubts regarding page sharing in Linux (please also correct me if any of my assumptions are wrong), 1. In recent kernel KSM does the page sharing for user process' anonymous pages. 2. What about pages where the program text is stored ? are they shared between two... (4 Replies)
Discussion started by: kumaran_5555
4 Replies

4. Linux

Find Page size in linux

Hi, How do i find Linux kernel page size using command ? Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies

5. UNIX for Dummies Questions & Answers

how do you create a man page?

i've never done this before. i created a script that I placed in /usr/bin, but want to create a man page for it. i'm clueless thanks (3 Replies)
Discussion started by: theDirtiest
3 Replies

6. News, Links, Events and Announcements

Unix Manual (man-page) pages in HTML

LINK: Unix Manual (man page) pages in HTML http://www.rt.com/man/ : More then 100 Commands found on a Unix system mannual pages can be obtained/refered here. Good Link.. (1 Reply)
Discussion started by: killerserv
1 Replies

7. UNIX for Dummies Questions & Answers

Are their any Front Page 2000 *linux* programs?

I am looking for an alternative. I am not wanting to try and run it using one of those fancy programs that can run windows programs. I am trying to cut the chord from MS so I am looking for good similar programs. Any thoughts? If there are none, then I guess I try to run it under Linux. ... (6 Replies)
Discussion started by: wizkid
6 Replies

8. News, Links, Events and Announcements

Linux Man Page Online Link

Linux Man Page Online Link LINK: Linux Man Page Man Page for ( Section ) - The UNIX and Linux Forums (0 Replies)
Discussion started by: killerserv
0 Replies
Login or Register to Ask a Question