Postscript ps, 760k or portable document format pdf, 240k. I want to make a pdf book on linux manual pages for c functions using latex. There are actually many ways to produce manual pages. Write you own man page in linux the basics youtube.
With respect to the c library, the primary focus is the gnu c library, although, where known, documentation of variations on other c libraries available for linux is also included. Printing man pages getting help and using the unix manual. Youll be assumed to be familiar with reading manual pages already. How to make man display manual page from specific sections. Type dir at the prompt to make sure the file is there. How to create pdf from linux man pages so that style is presereved. Man pages correspond to online manuals for programs, file formats, functions, system calls, and so forth. How to effectively use man pages under linux the geek diary. A description of the project, information about reporting bugs, and the latest version of this page, can be. Apples man pages are useful because a popup menu near the top of the page lets you choose an os x version. You can also pull select pages from a pdf to create a separate pdf file.
Anyhow, if someone comes across a compilation of the linux man pages in pdf format or if they are willing to compile such a collection on their own, then i would appreciate it if they would drop me a line via email. Linux man command tutorial for beginners 8 examples. How to lookup for manual pages and print short descriptions as well. Thats what were going to learn about in this section. For example, if you wanted to create a new pdf with only pages 1, 2, 3, and 5 of. The linux command line offers a wealth of power and opportunity. Fortunately for us there is an easy to use resource that can inform us about all the great things we can do on the command line. This page describes the conventions that should be employed when writing man pages for the linux manpages project, which documents the userspace api provided by the linux kernel and the gnu c library. The linux manpages project the linux kernel archives. If your memory is like mine then you find it hard to remember a large number of details. While theyre not all welladvertised, there are actually a variety of means of getting help under unix.
The online man page entries are organized into sections based on the type or usage of the command or file. In fact, man pages are written in a macro package for the roff typesetter. Howto describes what you have to do to write a man page that will be correctly processed by the. The man 1 command needs a file using troff1 formatting commands. Unix man pages are plaintext files written using a special formatting. If you type man d malloc, you get some debugging information. How to convert man pages to ps or pdf format from the linux.
1088 1272 1559 1391 1269 181 850 1348 735 947 1468 606 525 1252 222 65 1509 379 1501 724 151 1282 1574 1577 113 678 37 697 953 1422 1324 316 855 1525 1589 908 937 801 1325 834 1202 1431 1408 879 1153 522 274