Now that you’re almost to the end of this guide, let’s look at some ways to continue learning about the Unix side of Mac OS X. Documentation is an obvious choice, but it isn’t always in obvious places. You can save time by taking advantage of other shell features — aliases, functions, and scripts — that let you shorten a repetitive job and “let the computer do the dirty work.”
We’ll close by seeing how you can use Unix commands on non-Unix systems.
You might want to know the options to the programs we’ve introduced and get more information about them and the many other Unix programs. You’re now ready to consult your system’s documentation and other resources.
versions of Unix have adapted Unix
documentation in different ways. Almost all Unix systems have
documentation derived from a manual originally called the
. The manual has numbered sections;
each section is a collection of manual pages, often called manpages;
each program has its own manpage. Section 1 has manpages for general
Unix programs such as
Mac OS X has individual manpages stored on the computer; users can
read them online. If you want to know the correct syntax for entering
a command or the particular features of a program, enter the command
man and the name of the command. The syntax is:
For example, if you want to find information about the program
vi, which allows you to edit files, enter: