If you want to know only the location of manual pages, you can use the –w command. In the above example, the command cd is searched in all the manual pages by considering it as a regular expression and returns the manual pages with the section numbers in which it is found. For this, you have to use the –k command option. This command enables you to search and list manual pages considering input as a regular expression. How to Search Considering Input as A Regular Expression? You can move through the pages for reading by pressing the enter key. The above output is produced In the system for the command. If you want to display all the manual pages one by one corresponding to a particular input, you can do that by simply using the –a command. How to Display All Manual Pages for Input? To overcome that problem, we have a command option –f that displays all the manual pages that match the input. We can’t remember the section number for manual entries for the same name. How to Search for Manual Pages and Print Short Descriptions? To do that, just type the section number before the command name. Man command allows you to access man pages from a specific section directly. Some sections contain man pages entries for the same name. $ man ls How to Display Manual Pages from Specific Sections?Īll available manual pages are divided into multiple sections.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |