- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to add a man page
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2002 10:03 PM
тАО01-01-2002 10:03 PM
How to add a man page
Thanks
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2002 10:10 PM
тАО01-01-2002 10:10 PM
Re: How to add a man page
Try this link,
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=eb5b83f209d75dda1e/screen=ckiDisplayDocument?docId=200000006392062
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2002 01:28 AM
тАО01-02-2002 01:28 AM
Re: How to add a man page
first:
HAPPY NEW YEAR
second,
here is an adittional link:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6b681012aa92d5118ff10090279cd0f9,00.html
Hope this will help,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2002 01:28 AM
тАО01-02-2002 01:28 AM
Re: How to add a man page
first:
HAPPY NEW YEAR
second,
here is an adittional link:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6b681012aa92d5118ff10090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x35611012aa92d5118ff10090279cd0f9,00.html
Hope this will help,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2002 05:45 AM
тАО01-02-2002 05:45 AM
Re: How to add a man page
# MANPATH=$(cat /etc/MANPATH)
# man whatever..
Another technique is to use a symlink in a classic man page location such as /usr/share/man. Don't be tempted to just copy the man page to /usr/share/man as changes to your application (patches, updates, etc) may provide a new page but you'll probably forget to copy the new version. That's where a symlink works best.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2002 08:43 AM
тАО01-02-2002 08:43 AM
Re: How to add a man page
Append the man path to the MANPATH variable.
echo $MANPATH
MANPATH=$MANPATH:
eg: MANPATH=$MANPATH:/opt/testy/man
export MANPATH
To make this permanent, add it in the .profile file.
HTh
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2002 03:02 AM
тАО01-04-2002 03:02 AM
Re: How to add a man page
1. cp /usr/man/man1.Z/x.1 (your own directory) /x.1.Z
(where x.1 is some file in this directory)
2. cd ( to your own directory)
3. uncompress x.1.Z ( This creates a file called x.1)
4. chmod 777 x.1
5. Edit x.1 to include the information you want documented.
6. nroff -man x.1 > newname.1 (where newname is the name you want the man page to have)
7. chmod 644 newname.1
8. Compress newname.1 --- should get newname.1.Z
9. cp newname.1.Z /usr/local/man/cat*/newname.1.Z
You can either copy it to /usr/local/man/cat*, as shown above or to directory /usr/local/man/man*/newname.1.Z ( * = directory man1 to n#)