<<

. 66
( 69 .)



>>


7.
If distribution of executable or object code is made If, as a consequence of a court judgment or allegation
by offering access to copy from a designated place, then of patent infringement or for any other reason (not limited
offering equivalent access to copy the source code from the to patent issues), conditions are imposed on you (whether
same place counts as distribution of the source code, even by court order, agreement or otherwise) that contradict the
though third parties are not compelled to copy the source conditions of this License, they do not excuse you from the
along with the object code. conditions of this License. If you cannot distribute so as to
satisfy simultaneously your obligations under this License
and any other pertinent obligations, then as a consequence
4. You may not copy, modify, sublicense, or distribute the
you may not distribute the Program at all. For example, if a
Program except as expressly provided under this License.
patent license would not permit royalty-free redistribution
Any attempt otherwise to copy, modify, sublicense or
of the Program by all those who receive copies directly or
distribute the Program is void, and will automatically
indirectly through you, then the only way you could satisfy
terminate your rights under this License. However, parties
both it and this License would be to refrain entirely from
who have received copies, or rights, from you under this
distribution of the Program.
License will not have their licenses terminated so long as
If any portion of this section is held invalid or
such parties remain in full compliance.
unenforceable under any particular circumstance, the
balance of the section is intended to apply and the section
5. You are not required to accept this License, since
as a whole is intended to apply in other circumstances.
you have not signed it. However, nothing else grants you
It is not the purpose of this section to induce you to
permission to modify or distribute the Program or its
infringe any patents or other property right claims or to
derivative works. These actions are prohibited by law if
contest validity of any such claims; this section has the sole
you do not accept this License. Therefore, by modifying
purpose of protecting the integrity of the free software
or distributing the Program (or any work based on the
distribution system, which is implemented by public license
Program), you indicate your acceptance of this License
practices. Many people have made generous contributions
to do so, and all its terms and conditions for copying,
to the wide range of software distributed through that
distributing or modifying the Program or works based on it.
system in reliance on consistent application of that system;
it is up to the author/donor to decide if he or she is willing
6. Each time you redistribute the Program (or any work
to distribute software through any other system and a
based on the Program), the recipient automatically receives
licensee cannot impose that choice.
a license from the original licensor to copy, distribute or
This section is intended to make thoroughly clear what
modify the Program subject to these terms and conditions.
is believed to be a consequence of the rest of this License.
You may not impose any further restrictions on the
recipients' exercise of the rights granted herein. You are not
8. If the distribution and/or use of the Program is
responsible for enforcing compliance by third parties to this
restricted in certain countries either by patents or by
License.




324
A
WHAT'S ON THE CD-ROM




copyrighted interfaces, the original copyright holder who NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF
places the Program under this License may add an explicit
geographical distribution limitation excluding those CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM,
countries, so that distribution is permitted only in or among TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
countries not thus excluded. In such case, this License WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
incorporates the limitation as if written in the body of this HOLDERS AND/OR OTHER PARTIES PROVIDE THE
License. PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
9. LIMITED TO, THE IMPLIED WARRANTIES OF
The Free Software Foundation may publish revised
MERCHANTABILITY AND FITNESS FOR A PARTICULAR
and/or new versions of the General Public License from
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
time to time. Such new versions will be similar in spirit to
PERFORMANCE OF THE PROGRAM IS WITH YOU.
the present version, but may differ in detail to address new
SHOULD THE PROGRAM PROVE DEFECTIVE, YOU
problems or concerns.
ASSUME THE COST OF ALL NECESSARY SERVICING,
Each version is given a distinguishing version number.
REPAIR OR CORRECTION.
If the Program specifies a version number of this License
which applies to it and "any later version", you have the
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE
option of following the terms and conditions either of
that version or of any later version published by the Free LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT
Software Foundation. If the Program does not specify a HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
version number of this License, you may choose any AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED
version ever published by the Free Software Foundation. ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING
ANY GENERAL, SPECIAL, INCIDENTAL OR
10. If you wish to incorporate parts of the Program into CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
other free programs whose distribution conditions are
NOT LIMITED TO LOSS OF DATA OR DATA BEING
different, write to the author to ask for permission. For
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU
software which is copyrighted by the Free Software
OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO
Foundation, write to the Free Software Foundation; we
OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH
sometimes make exceptions for this. Our decision will be
HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
guided by the two goals of preserving the free status of all
POSSIBILITY OF SUCH DAMAGES.
derivatives of our free software and of promoting the
sharing and reuse of software generally.




325
INDEX
Symbols directives, 232“233
document directory, 234
* (asterisk), 16, 26, 47 install, 244“245
\ (backslash), 10 server, 232“233
` (backtick), 51, 115 Apache Web server
{} (braces), 116 about, 228“229
^ (caret), 26, 40, 47 configuration, 229
: (colon), 72 start, 230
$ (dollar sign), 47 stop, 231
. (dot) alias, 21 append to path, 88
.. (dot-dot) alias, 21 Apple resource forks, 128“129
-- (double dash), 23 Applescript, 130“131, 131
= (equal symbol), 24 applications
! (exclamation point), 74, 90 install, 190“191
/ (forward slash), 16 run from Terminal application, 15
- (minus symbol), 24 Aqua
. (period), 47 applications open from shell, 122“123
| (pipe), 50 clipboard, 126“127
+ (plus symbol), 24, 47 interface, 3
# (pound sign), 109 arguments
? (question mark), 26, 47 in command line, 10
; (semicolon), 114 escape, 10
[] (square brackets), 47 as command, 184
˜ (tilde) alias, 21 asterisk (*), 16, 26, 47
Authenticate dialog box, 181
A autocorrect variable, 85
a, 24 autoindent option, vi, 65
-A option, 17 autologout variable, 85
AbiWord, 292“293, 316 awk command, 116“117
access privileges, 154
B
Accounts tool, 158
Adobe Acrobat Reader, 124, 316 back up files, 164“165
Advanced Package Tool, 198 background (bg) command, 101
AIM (AOL Instant Messenger), 210 backslash (/), 10
alias command, 82“83 backtick (`), 51, 115
alias dot (.), 21 bash, 92
alias dot-dot (..), 21 Bell Labs, AT&T, 2
aliases Berkeley Software Distribution (BSD), 2
delete, 83 binary files
special pathnames, 21 about, 147
Analog, 248“249 download, 151
analyze Web traffic, 248“249 view, 40
anonymous ftp, 146“147 block directives, 232
AOL Instant Messenger (AIM), 210 Bourne, Steven, 94
Apache Bourne-again shell, 92, 94
compile, 196“197 braces ({}), 116
configure, 232“233 BSD Unix system, 2, 3
built-in commands, 11
326 builtins command, 11
Unix for Mac:
Your visual blueprint to maximizing
the foundation of Mac OS X

compress command, 176“177
C
compress files, 176“177
C applications development, 300“301 concatenate, 40
C++ applications development, 300“301 conditional logic, 114
-C2 options, 10 conditional shell scripts, 114“115
Calc, 298 configure
capture screenshots, 124“125 Apache, 232“233
caret (^), 26, 40, 47 Apache Web server, 229
cat command, 40, 41, 48“49 DontBlameSendmail, 216“217
cd command, 10, 30“31 sendmail, 214“215
CD-ROM, 316“317 Terminal, emacs, 79
CGI (Common Gateway Interface), 242“243 Terminal application, 6“7
CGI script, 266“267 configure command, 195, 308
chain text commands together, 50“51 connect to Internet, 134“135
change shell, 93 console.log, 174
character count in text, 54 Control+D keys, 27
characters value, 54 copy
charsc command, 29 Apple resource forks, 128“129
chat, Internet Relay Chat (IRC), 212“213 command output to clipboard, 126
chgrp command, 166 directory, 37, 129
Chimera, 316 files, 20, 128
chmod command, 24“25, 110“111 text file to clipboard, 126
chomp command, 257 Web page, 150
chown command, 166 copy command, 126
chpass command, 93 cp command, 20, 37, 128
clickable shell scripts, 132 CpMac command, 129
clients, X Window System, 268 create table command, 312
clipboard, 126 cron command, 120“121
Close button, 14 crontab -e command, 120
close command, 261 crontab files, 120
Close Window, 14 crop images, 290
colon (:) vi, 72 crossword puzzles, grep command for, 46
Color settings, 7 .css file extension, 74
column command, 55 curl command, 150“151
columns, 55 custom permissions, set, 25
command line cut-and-paste, vi, 73
arguments in command line, 10 CVS, 184
Perl scripts on, 256“257
D
command mode, vi, 66
command output to clipboard, 126
Darwin, 3
.command suffix, 132
databases
comments for command and scripts, 109
access databases from PHP, 314“315
Common Gateway Interface (CGI), 242“243
run, 308“311
compare text files, 52“53
date command, 100
compile
days, find files by, 29
Apache, 196“197
Debian, 198
program with make command, 194“195
default prompt, 80
complete variable, 85
327
INDEX
drag pathnames to Terminal window, 133
delete
DSL (digital subscriber line) Internet connection, 134
aliases, 83
du command, 38“39, 57, 170
applications run form Terminal application, 15
dump command, 164“165
directory, 34“35
dunique variable, 85
files, 23
duplicate items, eliminate, 57
text in vi, 70“71
dyld, 184
designate files by pathname, 21
Dynamic Host Configuration Protocol (DHCP), 134
Developer Tools
CD, 180
E
directory, 182“183
Easy Install screen, 183 e-mail
df command, 39, 170“171 from other servers, 221
DHCP (Dynamic Host Configuration Protocol), 134 Pine, 224“225
dial-up Internet, 134“135 send, 218“219
diff command, 52“53 e-version of book, 318“319
diff3 command, 52“53 Easy Install screen, Developer Tools, 183
digital subscriber line (DSL) Internet connection, 134 ed command, 53
directives, Apache, 232“233 edit
directory file, emacs, 78“79
change, 30“31 file, Pico, 62“63
copy, 37, 129 file, vi, 64
create, 32“33 images, GIMP, 288“291
size, 38“39 screenshot, 125

<<

. 66
( 69 .)



>>