|
Contents
1 man 2 info 3 apropos 4 whatis 5 makewhatis [edit] man
A useful option is: -k TEXT search manual page titles and synopsis lines for TEXT Examples: To display the manual page for the chown command: $ man chown
section 1 is user commands
A section number can be specified before the page name. For example, man chmod normally shows the user command "chmod". To see the system call "chmod": $ man 2 chmod
$ man -k newsgroups
If this does not work you may have to run the makewhatis command. [edit] info
Examples: To display the manual page for the grep command: $ info grep To find occurrence of 'grep' in all info manual pages: $ info --apropos grep
Some copies of info lack the "-w" option. To see the physical location of 'grep' info manual page: $ info -w grep /usr/share/info/grep.info.gz To view a file a info page: $ info -f ./some_cmd.info.gz [edit] apropos apropos searches the manual page short descriptions for a specified keyword On many systems this is exactly the same as the -k option of the man command. Examples: $ apropos newsgroups
[edit] whatis
Examples: $ whatis info
[edit] makewhatis makewhatis creates the database for the whatis, appropos, and man -k commands. This is commonly run automatically by your system however sometimes you need to run this manually. Examples: # makewhatis
|
|
See Also
Have a Unix Problem
Unix Books :-
Return to : - Unix System Administration Hints and Tips (c) www.gotothings.com All material on this site is Copyright.
|