Preface |
|
ix | |
|
|
1 | (12) |
|
|
1 | (5) |
|
Batch Renames and Extracting File Lists |
|
|
4 | (1) |
|
|
5 | (1) |
|
|
6 | (1) |
|
Thousands of Free Applications |
|
|
7 | (2) |
|
Power Internet Connections |
|
|
7 | (2) |
|
Commands Included with Unix |
|
|
9 | (1) |
|
Displaying All Unix Commands |
|
|
9 | (1) |
|
The 10 Most Common Unix Commands |
|
|
9 | (1) |
|
A Simple Guided (Unix) Tour |
|
|
10 | (3) |
|
|
13 | (28) |
|
|
13 | (10) |
|
|
14 | (2) |
|
Exercise: Entering a Few Commands |
|
|
16 | (1) |
|
|
17 | (1) |
|
Changing the Terminal's Preferences |
|
|
18 | (3) |
|
|
21 | (2) |
|
Customizing Your Terminal Session |
|
|
23 | (2) |
|
Setting the Terminal's Title |
|
|
23 | (1) |
|
Using AppleScript to Manipulate the Terminal |
|
|
24 | (1) |
|
Working with .terminal Files |
|
|
24 | (1) |
|
Working with the Terminal |
|
|
25 | (7) |
|
|
27 | (1) |
|
|
27 | (1) |
|
Recalling Previous Commands |
|
|
28 | (1) |
|
Completing File and Directory Names |
|
|
29 | (1) |
|
Running Multiple Commands on the Command Line |
|
|
29 | (1) |
|
|
30 | (1) |
|
|
31 | (1) |
|
|
31 | (1) |
|
Customizing the Shell Environment |
|
|
32 | (3) |
|
|
32 | (1) |
|
Changing the Command Prompt |
|
|
33 | (2) |
|
Advanced Shell Customization |
|
|
35 | (4) |
|
Shell Configuration Settings |
|
|
35 | (3) |
|
|
38 | (1) |
|
The Unresponsive Terminal |
|
|
39 | (2) |
|
3 Exploring the Filesystem |
|
|
41 | (34) |
|
|
41 | (10) |
|
|
42 | (1) |
|
|
42 | (1) |
|
|
43 | (1) |
|
|
44 | (1) |
|
|
45 | (2) |
|
Changing Your Working Directory |
|
|
47 | (2) |
|
Files in the Directory Tree |
|
|
49 | (2) |
|
Listing Files and Directories |
|
|
51 | (8) |
|
The All-Powerful Is Command |
|
|
51 | (1) |
|
Trying Out the Is Command |
|
|
52 | (3) |
|
|
55 | (2) |
|
|
57 | (2) |
|
Calculating File Size and Disk Space |
|
|
59 | (5) |
|
Calculating Available Disk Space |
|
|
62 | (1) |
|
Exercise: Exploring the Filesystem |
|
|
63 | (1) |
|
Protecting and Sharing Files |
|
|
64 | (7) |
|
|
66 | (1) |
|
Setting Permissions with chmod |
|
|
67 | (3) |
|
Changing the Group and Owner |
|
|
70 | (1) |
|
|
71 | (1) |
|
Superuser Privileges with sudo |
|
|
72 | (1) |
|
Exploring External Volumes |
|
|
73 | (2) |
|
|
75 | (34) |
|
|
75 | (3) |
|
File and Directory Wildcards |
|
|
78 | (2) |
|
|
80 | (5) |
|
|
80 | (1) |
|
|
81 | (2) |
|
|
83 | (2) |
|
Creating and Editing Files |
|
|
85 | (11) |
|
Text Editors and Word Processors |
|
|
85 | (2) |
|
|
87 | (2) |
|
|
89 | (6) |
|
A Simpler vi Alternative: Pico |
|
|
95 | (1) |
|
The More Complex Option: Emacs |
|
|
95 | (1) |
|
|
96 | (13) |
|
Creating Directories with mkdir |
|
|
97 | (1) |
|
|
98 | (2) |
|
Renaming and Moving Files with mv |
|
|
100 | (1) |
|
Removing Files and Directories |
|
|
101 | (2) |
|
|
103 | (2) |
|
Compressing and Archiving Files |
|
|
105 | (2) |
|
Files on Other Operating Systems |
|
|
107 | (2) |
|
5 Finding Files and Information |
|
|
109 | (26) |
|
Searching Inside Files with the grep Command |
|
|
109 | (7) |
|
|
110 | (2) |
|
Working with Regular Expressions |
|
|
112 | (4) |
|
Finding Files with locate |
|
|
116 | (1) |
|
Fast Filename Search with locate |
|
|
116 | (1) |
|
Using find to Explore Your Filesystem |
|
|
117 | (9) |
|
|
118 | (3) |
|
Exploring find Permission Strings |
|
|
121 | (1) |
|
Using find to Identify Recently Changed Files |
|
|
122 | (2) |
|
find's Faithful Sidekick: xargs |
|
|
124 | (2) |
|
Further Refinements to find |
|
|
126 | (1) |
|
Shining a Light on Spotlight |
|
|
126 | (9) |
|
Listing Spotlight Metadata with mdls |
|
|
127 | (4) |
|
Finding Files with mdfind |
|
|
131 | (1) |
|
|
132 | (3) |
|
|
135 | (18) |
|
Standard Input and Standard Output |
|
|
135 | (6) |
|
|
137 | (4) |
|
|
141 | (8) |
|
|
142 | (1) |
|
|
143 | (1) |
|
|
144 | (1) |
|
|
145 | (1) |
|
|
145 | (2) |
|
|
147 | (1) |
|
|
148 | (1) |
|
|
149 | (4) |
|
|
149 | (4) |
|
|
153 | (16) |
|
Running a Command in the Background |
|
|
154 | (6) |
|
|
155 | (1) |
|
|
155 | (3) |
|
|
158 | (2) |
|
|
160 | (3) |
|
|
161 | (1) |
|
|
162 | (1) |
|
Launching GUI Applications |
|
|
163 | (6) |
|
|
163 | (2) |
|
Useful Starting Options for Use with open |
|
|
165 | (1) |
|
|
166 | (3) |
|
|
169 | (18) |
|
|
169 | (7) |
|
|
172 | (1) |
|
Remote Access to Other Unix Systems |
|
|
173 | (3) |
|
|
176 | (11) |
|
|
176 | (1) |
|
|
177 | (6) |
|
Easy Shortcuts with New Remote Connection |
|
|
183 | (4) |
|
|
187 | (10) |
|
|
188 | (7) |
|
|
190 | (2) |
|
Differences Between OS X and X11 |
|
|
192 | (1) |
|
|
193 | (2) |
|
GIMP, the X11 Graphics Editor |
|
|
195 | (2) |
|
|
197 | (10) |
|
|
197 | (5) |
|
|
197 | (3) |
|
Documentation on the Internet |
|
|
200 | (2) |
|
|
202 | (1) |
|
Customizing Your Unix Experience |
|
|
202 | (5) |
|
Shell Aliases and Functions |
|
|
202 | (1) |
|
|
203 | (2) |
|
|
205 | (1) |
|
|
205 | (2) |
Index |
|
207 | |