Web and email hosting - 282 Part II . Getting Around in Linux
282 Part II . Getting Around in Linux Using the -aoption shown in Table 7-1, you can examine all of the matching man pages for the crontabutility. This is done using the following command. # man -a crontab Searching with whatis The whatis utility is not explicitly mentioned in the exam objectives, but knowing its use can come in handy on the exam. The whatis utility is used to search the whatis database for matching entries. This database is created using the /usr/bin/makewhatis command. This database contains short descriptions found in the man pages of system commands. An example of its use is the following: # whatis passwd passwd (1) - update a user s authentication tokens(s) passwd (1ssl) - compute password hashes passwd (5) - password file passwd.nntp [passwd] (5) - passwords for connecting to remote NNTP servers As you can see in this example, the passwd command has entries in sections one and five of the man pages. It is also found in section one of the sslcommand man pages. The man -f command searches this database for all entries matching the keyword entered. The command names listed in the database are searched for a matching entry. The following is an example of the output produced by this command. # man -f passwd passwd (1) - update a user s authentication tokens(s) passwd (1ssl) - compute password hashes passwd (5) - password file passwd.nntp [passwd] (5) - passwords for connecting to remote NNTP servers These commands perform the same search. The commands and man page sections where they are located are displayed. This can be helpful for locating man page source sections and variants of commands. Searching with apropos Like whatis, the apropos command is not explicitly mentioned in the exam objectives, but is useful to know come exam time. And also like the whatisutility, the apropos command uses the whatis database. This command is used to search both the command names and the descriptions for the keyword specified. The following is an example of the apropos command:
You need excellent and relaible webhost company to host your web applications? Then pay a visit to Inexpensive Web Hosting services.