How to Use This Book

How to Use This Book

Unix for Mac OS X 10.4: Visual QuickPro Guide is designed so that each chapter builds upon the skills and understanding taught in the preceding chapters. So before we teach you how to edit files using Unix tools (in Chapter 6, "Editing and Printing Files"), for example, we show you how to work with files in general (in Chapter 5, "Using Files and Directories").

  • If you are completely new to Unix, we recommend that you work your way through the book chapter by chapter, at least through Chapter 12, "Security."

  • If you already know a bit of Unix, take a few minutes to skim through the first six chapters, and if you already know the information we cover, see if you want to work through it in detail. Then decide if you want to work through the book chapter by chapter or use it as a reference as you poke around Mac OS X on your own. You'll find instructions on getting to the command line in Chapter 2, "Using the Command Line."

  • If you are a hotshot Unix expert, gift-wrap the book and give it to your favorite Mac user . (But photocopy the appendix first.)

Most of this book consists of specific tasks laid out in a step-by-step fashion, with accompanying illustrations and examples of your input and the computer's output. The chapters and tasks are intended to be used as a tutorial, to teach you how to perform and understand the particular tasks and larger concepts. The book is also meant to be a reference work you will come back to as you continue to learn Unix, and as you find and create more uses for Unix.

Graphic conventions

We use the following graphic conventions throughout this book:

Keyboard symbols

Where we want to indicate that you must press a particular key, we use special symbols such as and .

Whenever we show you a command or line of text to type into the computer, we assume that you will press at the end of the line unless we tell you not to. To avoid visual clutter and repetition, we do not put the symbol at the end of every line.

Bold

Used for figure and table references. For example: " Figure 0.1 shows the ' layers ' of Mac OS X, with the Aqua user interface on 'top' and the Darwin Unix layer at the foundation. Table 0.1 is an example of a table."

Figure 0.1. Diagram showing a very simplified view of the software layers in Mac OS X, with the Aqua user interface on top and the open -source Unix layer called Darwin at the foundation.


Table 0.1. Example of a Table

T ABLE E NTRY

M EANING /D ESCRIPTION

Unix

A multiuser, multitasking operating system available in more than 100 different versions.

POSIX

A standard for Portable Operating System Interface for Unix.


About " vanilla "

Throughout this book we use the made-up user name "vanilla" (and sometimes another one called "puffball").

Whenever you see vanilla, you should substitute your own short user name. Your home directory has the same name as your short user name.


code text

Used for Unix command-line text, including Unix commands and filenames. Basically, if you see something in code text, that means it is literally what would be typed into or come out of the computer. If a line of text is too long for this book's text margins, one or more gray arrows indicate the continuation of a single line of code. For example, the following should be typed as one long line:

 find . -type f -print0  xargs -0 grep  -l Darwin  mail -s "Files containing  'Darwin  somebody@example.com   code text in bold  

Used in figures to distinguish text you type in from text that comes from the computer. Figure 0.2 has an example of how code text and code text in bold appear in a figure: The command line that the user typed is cal 05 2023 , and everything else came from the computer.

code italics

Figure 0.2. Example of using the Unix command line. The code text in bold is typed by you, the user; all the other text comes from the computer.
 g4-cube:~ matisse$  cal 05 2023  May 2023  S  M Tu  W Th  F  S     1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 g4-cube:~ matisse$ 

These indicate text that you type into the computer but where you must substitute the appropriate value for the italicized text. For example, if you see

ls -l filename

then you would type the ls -l part literally, and then the name of a file instead of filename .

body-text italics

Used for emphasis and also to introduce words and phrases that are likely to be unfamiliar to Unix novices. For example, "The Unix concept of the working directory is similar to the GUI concept of the active window."

Case sensitivity

In Unix, filenames and command names are case sensitive. The standard Mac OS X file system (HFS Plus) is a case- preserving , case-insensitive file system. This means that it preserves the case when it stores filenames, but ignores case when looking for filenames, so you cannot have two files in the same folder if the only difference in their names is case: file1 and FILE1. This means that there are some situations in which "COMMAND" and "command" are the same, but because those are exceptions and because case sensitivity is the Unix standard, we assume that all commands and filenames are case sensitive unless otherwise noted.

Darwin-specific features

The image in Figure 0.3 is Hexley, the mascot/logo for Darwin, which is the name of the Unix part of Mac OS X (see www.hexley.com). We use Hexley to indicate features of Mac OS X's Unix environment that differ from those of most other Unix versions. These features are available only in the open-source version of Unix (called Darwin) used in Mac OS X. Most of the Unix features of Mac OS X do not differ from those of other Unix systems.

Figure 0.3. This is Hexley, the mascot/logo for Darwin. Darwin is the name of the version of Unix used as the foundation of Mac OS X.


The Hexley Darwin OS mascot is 2000 by Jon Hooper, all rights reserved. Used with permission. Permission to use the mascot may be obtained from Jon Hooper, 646 Luton Drive, Glendale, CA 91206, or via e-mail at jonhoops@mac.com.



Unix for Mac OS X 10. 4 Tiger. Visual QuickPro Guide
Unix for Mac OS X 10.4 Tiger: Visual QuickPro Guide (2nd Edition)
ISBN: 0321246683
EAN: 2147483647
Year: 2004
Pages: 161
Authors: Matisse Enzer

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net