Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi all,
I want to add help document into manual page but i don't want ask "man ./"command". When i ask : # man ./"command" then OK. But i ask : # man "command" then have problem display :"No maual entry for "command"".
Who can help me ... step ..step.. change manual page with some example.
Which is informative and step-by-step, but long....look especially at chapter 2 and the manpath command to figure out where the man page information is stored.
Which may simplify things for you. I am not sure how up-to-date it is...if you are using a debian-based distribution, you may be able to install it easily using synaptic, if it is still supported. I just looked...it was last updated Feb. 2007, so it is pretty up to date..
Is this a new man page or are you modifying an existing one?
Have you already written the man page and formatted it to your satisfaction but just need to know were it should be placed?
Once the man page has been written, it should be gzipped and placed in the correct location.
If you have created a man page for my_command and you want to place it in section 1 of the man pages:
call the text file my_command.1
gzip my_command.1
[as root]:
mv my_command.1.gz /usr/share/man/man1/.
The man page can then be referenced using:
man my_command
*** If you are changing a pre-existing manpage, make sure you have a verified backup! ***
Thank you very much.
but if i don't want mv file to /usr/share/man/man1, i want to add directory path in man.config file then how do ...
you can instruct me step to step ?
thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.