You can use the man command to display the man page entry that explains a given command. The syntax of the man command is as follows. The online man page entries are organized into sections based on the type or usage of the command or file.
In case you want the man command to search and list manual pages by considering input as a regular expression, you can do that using the -k command line option. In case the requirement is to only know the location of manual pages, you can force man to do this by using the -w command line option. By default, the man command ignores case while searching for manual pages.
However, if you want, you can enable case-sensitivity using the -I command line option. So you can see man is an extremely important command that users - both newbies and pros - should know how to use. We've just scratched the surface here, as the tool offers a lot of features. Practice these first, and when you are done, head to the man's manpage for more info.
No error messages on the shell terminal. Linux Mint This feature is only available to subscribers. It can be useful in the case when you don't know the exact name of a command. Result will be displayed in a format having title, section number and its description as shown below. Apropos is not case sensitive which makes it more convenient to use.
For clear understanding, we have given an example of 'chmod' keyword. It displays all the results related to our keyword search 'chmod'. JavaTpoint offers too many high quality services. Mail us on [email protected] , to get more information about given services. Please mail your requirement at [email protected] Duration: 1 week to 2 week. Next Topic Linux man -whereis. Reinforcement Learning. View all Courses. All rights reserved. Courses Pricing. What is the man command in Linux?
Lookup for man pages The command-line option -f allows man to display all manual pages that match the name in the input, and it gives the sections in which the given command is present.
Displaying man pages in browser To display man pages in a browser for easy scrolling and viewing, use the -H flag.
0コメント