1.7. Exercises
The apropos command returns a list of manual pages that match one or more keywords. Try entering the following commands into Terminal:
apropos copy
apropos copy file
apropos "copy file"
Which of these commands provides the best result?
You have seen how you can use man to read the online help for a specific command. Type man man into Terminal and read about what man is capable of. For example, what does man -k "copy file" do?
Get Beginning Mac OS® X Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.