Learning Unix for Mac OS X Tiger

First Edition Juni 2005
ISBN 978-0-596-00915-1
Seiten 280
EUR19.00, SFR32.90


Weitere Informationen zu diesem Buch

Inhaltsverzeichnis | Index | Probekapitel | Kolophon | Rezensionen |


Index

	
[ Numbers ], [ Symbols ], [ A ], [ B ], [ C ], [ D ], [ E ], [ F ], [ G ], [ H ], [ I ], [ J ], [ K ], [ L ], [ M ], [ N ], [ O ], [ P ], [ Q ], [ R ], [ S ], [ T ], [ U ], [ V ], [ W ], [ X ], [ Y ], [ Z ],

Numbers[ Top ]
0 command (vi), 98
1 command (vi), 102
-1 option (ls command), 60

Symbols[ Top ]
& (ampersand), specifying background processes, 164
* (asterisk)
      indicating executable file, 66
      regex repetition operator, 124
      wildcard, 86
: (colon)
      in filenames or directory names, 83
      prompt for less command, 90, 156
{ } (curly brackets) regex repetition operator, 124
{ , } (curly brackets) wildcard, 86
- (dash)
      in command line, 16
- - (dash, double) in command line, 16
$ (dollar sign)
      at end of prompt, 35
      vi text editor, 98
$$ (dollar sign, double), PID of current shell, 172
. (dot), indicating working directory, 59
. . (dot dot), indicating parent directory, 54
= (equal sign), setting exact permissions, 75
\! (escape sequence), displaying current command history number, 42
\$ (escape sequence), displaying number or $ in prompt, 42
\@ (escape sequence), displaying time in prompt, 42
^[ escape sequence, typing, 30
>> (greater-than, double) append redirection operator), 148
> (greater-than) output redirection operator, 145-148
# (hash mark), at end of prompt, 35
< (less-than) input redirection operator, 144
+ (plus) regex repetition operator, 124
? (question mark)
      help command for Pine, 229
      regex repetition operator, 124
      wildcard, 86
; (semicolon), on command line, 17
/ (slash)
      in absolute pathnames, 52
      indicating root directory, 7, 51
      starting pattern in vi, 98, 101
[ ] (square brackets) wildcards, 86
~ (tilde), indicating home directory, 5, 107
| (vertical bar) pipe operator, 144, 149-156
      grep command and, 120

A[ Top ]
a command (vi), 101
\A (escape sequence), displaying time in 24-hour format, 42
-a option (open command), 177
absolute pathnames, 52-54, 57
      copying files, 106
accounts, 49
      default, 14
      switching from superuser to personal account, 35
Activity Monitor utility, 168, 178
ADC (Apple Developer Connection), 110
admin user, running sudo command, 72, 79
AirPort Base Station, remote access and, 185, 213
alias command, 44, 46
aliases, 113, 245
      creating, 46
      listing, 46
      relationship to links, 114
      using with open command, 179-180
[:alnum:] option (regexes), 123
[:alpha:] option (regexes), 123
-An (grep option), 121
anonymous FTP, 190, 194
ANSI escape sequences, 30, 42
append redirection operator (>>), 148
Apple Remote Desktop software, 184
AppleScript commands, running at shell prompt, 30
apropos command, 171, 242
apt-get install command (Fink), 219-221
archiving files, 116
ascii command (ftp program), 192
at_cho_prn command, 161
atlookup command, 161
atprint command, 161
atstatus command, 162
audio, preferences for, 23

B[ Top ]
b command (vi), 101
background processes
      canceling, 164, 173-176
      checking status of, 164, 165-172
      multitasking and, 163
      running programs as, 164
      troubleshooting, 40
Barrett, Daniel J., 188
bash shell, 34
      customizing, 43
      default prompt for, 41
      set noclobber command, 146
.bashrc file, 43, 208
      editing, 41
BBEdit graphical text editor, 93
BEL character (ASCII), 30
bg command, 165
binary command (ftp program), 192
bitmap utility (X11), 205
-Bn (grep option), 121
books
      about GIMP, 237
      about Mac OS X, xiii
      about shell scripts, 247
      about Unix, xviii
      about Unix security, 72
      choosing, 245
Bourne shell (sh), 34
Buffer settings of Terminal, 23-24
Burr, Steve, 221
bye command (ftp program), 192

C[ Top ]
C (compose) command (Pine), 233
C (Config) command (Pine), 229, 231
-c (grep option), 121
c-~ (Next Window) command, 33
-c option (grep command), 122
C shell (csh), 34
Cameron, Debra, 104
Carbon, programming with, 248
case sensitivity of commands, 35
cat command, 88-89, 145-148
C/C++, programming with, 248
cd command, 11, 13, 56
      exploring filesystems with, 71
      ftp program, 192
c-D (Find Previous) command, 33
c-Down Arrow (Down One Line) command, 34
c-E (Find with Selection) command, 33
c-G (Find Next) command, 33
child directories, 51
chmod command, 66, 74-77
chown program, 78
c-J (Jump to Selection) command, 33
-cmin (find primary), 130, 133
-Cn (grep option), 121
c-N (Open Window) command, 33
Cocoa, programming with, 248
colon (:)
      in filenames or directory names, 83
      prompt for less command, 90, 156
color output for grep command results, 122
Color settings of Terminal, 25
colrm (column remove) command, 149
Command Key option, in title of window, 27
command line, running multiple commands on, 38
Command mode in vi, 95, 96
command prompt, changing, 41-43
command-line ftp, 191
commands, 15
      arguments of, 15
      canceling, 37, 39
      case sensitivity of, 35
      editing, on command line, 38
      entering, 35
      executing in configuration files, 45
      exiting shell while running, 40
      filename arguments of, 16
      filtering output of, 149
      history of, navigating, 42
      in scroll buffer, 33
      interrupting, 47
      multiple, entering on command line, 17, 38
      options of, 16, 17
      output as input of another command, 144, 148
      output to a file, 144
      programs started by, controlling, 18
      recalling previous commands, 36
      restarting after suspending, 48
      sending output to files, 145-148
      Unix, displaying all, 8
      wrapping long lines of, 24
composing messages with Pine, 233
compressing files, 115
concatenating files, 88-89, 145-148
configuration files, 40
Connect to Server feature, 198
Console application, viewing system messages with, 173
Control-C (Cancel), 37, 47
Control-D (end of input), 39, 48, 145-147
Control-H (Erase), 39
Control-J (Attach command in Pine), 233
Control-L (redraw display), 47
Control-Q (restart), 39, 48
Control-R (Read File command in Pine), 233
Control-S (pause), 39
Control-T (spell checker in Pine), 234
Control-U (erase line), 39
Control-Z (suspend), 47, 165
copying files, 105-109
copying text using vi, 100
core files, 150
CoreGraphics library, 202
correcting commands on command line, 38
counting matching lines in grep output, 122
cp command, 5, 12, 105-109
      creating aliases for, 46
      resource forks and, 108
CpMac program, 109
CPU usage, monitoring, 170
creator codes, 178
csh (C shell), 34
-ctime (find primary), 130
c-Up Arrow (Up One Line) command, 34
curl (copy from URL) command, 195
current directory, 50
cursors
      defining shape of, 24
      option click positioning for, 23
customizing X11, 208-210
cutting and pasting in X11, 206
c-W (Close Window) command, 48

D[ Top ]
d command (vi), 99
d$ command (vi), 100
D (delete) command (Pine), 232
-d option (ls command), 62
-d option (pr command), 159
d0 command (vi), 100
d1G command (vi), 101
Darwin project, xi, 243
DarwinPorts project, xi, 202
date command, 18, 35, 44
dd command (vi), 99, 101
Delete key, 39
df command, 69-70
dG command (vi), 100, 102
[:digit:] option (regexes), 123
dir command (ftp program), 192
directly executable programs, 172
directories, 49
      creating, 104
      hierarchical structure of, 51
      home directory, 5, 50, 107
      naming, 83-85
      navigating through, 55
      permissions for, 66
      removing, 113
      root directory, 7, 51
      shared directories, 52
      storage space used by, 63
      subdirectories, 51
      vs. folders, 7
      wildcards, using with, 87
directory tree, files in, 57-58
disk space, calculating, 67-69
Disk Utility tool, 133
Display settings of Terminal, 24
documentation
      Apple Help system, 240
      man command, 241
      on the Internet, 243
dollar sign ($)
      at end of prompt, 35
      vi text editor, 98
dot (.), indicating working directory, 59
dot files, 5
Down Arrow key, 37
downloading Unix software from Web, 9
droplets, turning shell scripts into, 247
DropScript utility, 247
du command, 67-69
dw command (vi), 99, 102

E[ Top ]
E (Exit) command (Pine), 230
Elliott, James, 104
Emacs text editor, 93, 103
Emulation settings of Terminal, 22
enable-sigdashes option (Pine), 229
end-of-line characters, 27, 94
enscript command, 160
erase characters, 39
ESC character (ASCII), 30
ESC key (vi), 102
escape sequences
      for bash prompts, 42
      for Terminal titles, 30
escaping special characters in filenames, 84
exit command, 39
export command, 44
external volumes, exploring, 81
extracting file lists, 4-5

F[ Top ]
F (forward) command (Pine), 232
-F option (ls command), 60, 66
-f option (open command), 177
-f option (sort command), 154
Fetch utility, 190
fg command, 40, 165
file paths (Unix), 7
filename database, building, 127
filenames, 83-85
      completing while typing, 37
      spaces in, 16
            copying/pasting, 29
            refrain from using, 84
      wildcards in, 86
files
      accidentally overwriting with output redirection, 146
      appending text to, 148
      archiving, 116
      completing names while typing, 37
      compressing, 115
      concatenating, 88-89, 145-148
      copying, 105-109
      copying between computers, 188-198
      in directory tree, 57-58
      finding
            using find, 128-136
            using locate, 126-128
            using mdfind command, 140
            using Spotlight, 137-142
      grep command, 119-126
      hidden, 5, 60
      listing, 17, 59-66
      looking inside, 87-91
      modification date of, 64
      moving, 110
      owner of, 63
      permissions, 64-66, 73
      prepending another file to, 148
      printing
            using AppleTalk commands, 160-162
            using Unix commands, 157-160
      protecting, 71-78
      redirecting output to, 145-148
      removing, 111
      renaming, 110
      saving sessions as, 33
      searching for
            permission settings, 131-133
            recently changed files, 133
            sizes of files, 129-131
            specific lines in files, 121
      sharing, 71-78
      size of, 64
      size of, calculating, 67-69
      transferring, with iDisk utility, 196
      uncompressing, 116
filesystem for Mac OS X, 49-58
filters, 149
      grep and sort used as, 154
      piping output to less command, 155
find command, 128-136
      grouping tests, 136
      sort command and, 154
      wc program and, 150
      xargs program and, 134-136
Finder application, xi
      directory names in, 83
      dragging files or directories to window, 56
      filenames in, 83
      files, accessing, 58
      files not visible in, 51
      Force Quit option, 2
      home directory, accessing, 50
      mounting remote directories, 195
      root directory, accessing, 51
      setting permissions, 74
finger command, 18
fink install command, 220
fink list command, 219
Fink project, xi, xv, 9, 216-237
      installing, 216-218
      installing packages, 219
      packages for, 219
fink selfupdate command, 217
FinkCommander utility, 221-224
firewalls and remote connections, 183
fmt command, 99
folders vs. directories, 7
fonts, choosing for readability, 25
Force Quit option, 2, 174
foreground process, moving background processes to, 40, 165
forward slash (see / (slash))
free disk space, calculating, 69-70
Friedl, Jeffrey E. F., 126
frozen sessions, 47
ftp command, 191
      downloading applications with, 9
FTP (file transfer protocol), 190-196
      remotely accessing Mac, 185

G[ Top ]
G command (vi), 98
games available through Fink, 222
Garfinkel, Simson, 72
get command (ftp program), 192
Get Info dialog box, 73
GIMP (GNU Image Manipulation Program), 2, 9, 234-237
GIMP Pocket Reference, 239
glxgears application (X11), 205
glxinfo application (X11), 206
GNU Backgammon (gnubg), installing, 222
GNU Image Manipulation Program (GIMP), 2, 9, 234-237
Google search engine, 244
graphical applications in Aqua, launching, 176-180
graphical programs, 18
grep command, 4, 13, 91, 119-126, 152
      color output for results, 122
      locate command and, 128
      options for, 120
      regular expressions and, 123-126
-group (find primary), 130
groups
      changing ownership, 77
      file permissions and, 64
      ownership of files/directories, 63
groups command, 77
GUI applications, launching, 176-180
gunzip program, 116
gzip program, 115

H[ Top ]
H command (vi), 98
h command (vi), 102
\H (escape sequence), displaying full hostname, 42
\h (escape sequence), displaying hostname up to first dot, 42
-H option (df command), 70
-h option (df command), 69
-h option (du command), 68
-h option (pr command), 159
hackers, 188
hard links, creating, 114
hash command (ftp program), 192
hash mark (#), at end of prompt, 35
head command, 152
help (?) command (Pine), 229
help command (ftp program), 193
Help menu from Apple, 240
hidden files, 5, 60
high CPU usage, looking for, 170
history of commands, displaying number in prompt, 42
home directories, 5, 50
      indicated with tilde (~), 107
      permissions for, 73
hung sessions, 47

I[ Top ]
i command (vi), 96, 102
-i (grep option), 121
I (inbox) command (Pine), 232
-i option (cp command), 106
-i option (df command), 70
icewm window manager, 203
iDisk, mounting, 52
iDisk utility, transferring files with, 196
IMAP (Internet Message Access Protocol), supported by Pine, 230
-iname (find primary), 130
incoming mail server for Pine, 230
inodes, availability of, 70
Insert mode in vi, 95, 97
interactive Unix programs, 18
Internet and X11, 210-215
interpreted programs, 172
I/O redirection, 143-162
IP address, for remote access, 185
-iregex (find primary), 130

J[ Top ]
j command (vi), 102
job control, 163, 165
      frozen sessions and, 47
      troubleshooting, 40
jobs command, 172

K[ Top ]
k command (vi), 102
Keyboard settings of Terminal, 27
kill command, 4, 164, 173
killall command, 174
Korn, David, 41
ksh (Korn shell), 34, 40

L[ Top ]
-l (grep option), 121
-l option (ls command), 62
Lamb, Linda, 95
lcd command (ftp program), 192
Learning GNU Emacs, 104
Learning the bash Shell, 20
Learning the Korn Shell, 41
Learning the Unix Operating System, xviii
Learning the vi Editor, 95
Left Arrow key, 39
less command, 45, 89, 155
LESS environment variable, 90
links, 113-115
      indicated in listing, 81
      number of, 63
ln command, 114
locate command, 126-128, 171
locate database, building, 127
login shell, choosing, 40
$LOGNAME environment variable, 167
[:lower:] option (regexes), 123
Loy, Marc, 104
lp command, 158
lpstat command, 157
ls command, 11, 12, 59-66
      creating aliases for, 46
      exploring filesystems with, 71
      syntax of, 17
      wildcards, using with, 86
-ls (find primary), 130
Lynx web browser, 222, 224-227
      downloading web pages with, 226

M[ Top ]
-m option (df command), 70
-M option (less command), 90
Mac OS X
      differences with X11, 206-208
      editors included with, 92
      multitasking by, ix
      multitasking with, 163-180
      remote access to, from X11, 211
      Terminal application, xii
      web sites about, 243, 245
      Xcode Tools included with, 110
Mac OS X Apps web site, 196, 245
Mac OS X Hints web site, 245
Mac OS X: The Missing Manual, xiii
Mac OS X Tiger for Unix Geeks, 184, 202
MacDevCenter web site, 245
Macintosh operating systems
      history of, xi
      magazines about, 244
MacUpdate utility, 196
Make Alias command, 113
makewhatis command, 171
man command, 13, 241
man -k command, 242
MANPATH environment variable, 244
Mastering Regular Expressions, 126
mdfind command, 137, 140
      grep command and, 152
mdls command, 137
      extracting useful information with, 141
memory, swapping pages in, 171
metadata database, used by Spotlight searches, 137
metadata, listing using mdls, 137-140
mget command (ftp program), 192
mkdir program, 105
modal editor, 94
modification dates of files, 64
more command, 13, 90
mounting remote FTP directories, 195
mount_webdav command, 196
mouse focus, importance of in X11, 206
mouse, three-button vs. single-button, 208
mput command (ftp program), 192
multitasking, ix, xiv, 163-180
multiuser operating systems, ix
mv command, 12
      creating aliases for, 46
mv program, 110
MvMac program, 110

N[ Top ]
-n (grep option), 121
-n option (cat command), 89
-n option (pr command), 159
-n option (sort command), 154
-name (find primary), 130
named character ranges in regular expressions, 123
NeoOffice/J application suite, 9, 94, 215
networked filesystems, 52
Neumann, Sven, 239
New Command option (File menu), 29
Newham, Cameron, 20
newlines, pasting as carriage returns, 23
noninteractive Unix programs, 18
-not (find primary), 135
-nouser (find primary), 130

O[ Top ]
O command (vi), 102
o command (vi), 102
Objective-C, programming with, 248
oclock application (X11), 206
-onlyin flag (mdfind command), 141
open command, 10, 176-180
      launching applications remotely, 184
Open Darwin project, 245
OpenOffice.org, 215
OpenSSH program, 182
open-x11 command, 208
option click positioning, 23
O'Reilly Media for Unix resources, 244
osascript utility, 30
outgoing mail server for Pine, 230
output redirection operator (>), 145-148
owner of file or directory, 63
      changing, 78
      searching by, using find, 131-133

P[ Top ]
P command (vi), 102
p command (vi), 100, 102
-P option (rm command), 112
packages, installing (Fink project), 219
pageouts, 171
pagers, piping output to, 155
Pages program, 94
parent directory, 51
passive command (ftp program), 192
passwd command, 79
passwords, changing, 78
Paste Escaped Text feature, 29
pasting items in X11, 206
pasting text using vi, 100
PATH environment variable, 44
pathnames, 52, 57
Peek, Jerry, xviii
periodic command, 242
Perl programming, 248
-perm (find primary), 130, 131
permissions (access modes), 64-66
      for directories, 72
      for files, 73
      rules for setting, 75
      searching for, using find command, 131-133
      setting, with chmod, 74-77
Pico text editor, 92, 102
PID (process ID), 3, 164
      listing for background processes, 165
Pine email application, 227-234
      configuring, 229-231
      reading email with, 231
      sending email with, 233
      signature file for, 234
pipe operator (|), 144, 149-156
      grep command and, 120
Pogue, David, xiii
POP (Post Office Protocol), supported by Pine, 230
port 22, opening connections on, 185, 213
port 80, use for Personal Web Sharing, 185
PostScript files, produced with enscript command, 160
Powers, Shelley, 247
pr command, 158
Practical Unix and Internet Security, 72
preferences of Terminal application, changing, 19-28
primaries for find command, 128-131
-print (find primary), 130, 136
[:print:] option (regexes), 123
-print0 (find primary), 130, 136
printing files
      using AppleTalk commands, 160-162
      using Unix commands, 157-160
private networks, opening, 213
Processes settings of Terminal, 21
.profile file, 43
prompt, 35
      changing, 41-43
      escape sequences for, 42
prompt command (ftp program), 192
ps -aux command, 167
ps -ax command, 3
ps (processor status) command, 2-4, 165-169, 171
ps -up command, 164
PS1 environment variable, 41
[:punct:] option (regexes), 123
put command (ftp program), 192
PuTTY program, 182-183
pwd command, 11, 13, 51, 55
      exploring filesystems with, 71
Python, programming with, 248

Q[ Top ]
:q command (vi), 95, 101
:q! command (vi), 101
Q (quit) command (Pine), 232
Quartz Compositor, 202
quartz-wm window manager, 203
quit command (ftp program), 192

R[ Top ]
-R option (cp command), 107
-R option (ls command), 66
-r option (rm command), 113
-r option (sort command), 154
-r option (vi), 100
r (read permission), 63
      for directories, 72
      for files, 65, 73
R (reply) command (Pine), 232
rcp (remote copy) program, 189
redirecting I/O, 143-162
-regex (find primary), 130
regular expressions, 91
regular expressions and grep command, 123-126
relative pathnames, 53, 57
      copying files, 106
remote access
      accessing files on other operating systems, 118
      Connect to Server feature for, 198
      from X11 to Mac, 211
      remote logins, 181-184
      to other Unix systems, 186
remote FTP directories, mounting, 195
removing
      directories, 113
      files, 111
renaming files, 110
repetition operator in regular expressions, 124
resource forks, 108
resources, copying files with, 108
Right Arrow key, 39
rlogin program, 186
rm command, 12, 111
      creating aliases for, 46
rmdir program, 113
Robbins, Arnold, 41, 95, 247
root directory, 7, 51, 53
      using find command, 129
rootless mode, switching out of, 209
Rosenblatt, Bill, 20, 41
rsh program, 186-188
Ruby, programming with, 248

S[ Top ]
-s option (du command), 67
-s option (grep command), 92
-s option (ln command), 114
-s option (ls command), 60
S (Setup) command (Pine), 229, 231
Sanchez, Fred, 247
Schwartz, Alan, 72
scp (secure copy) program, 189
scripts, xiii, 246-248
scroll buffer
      manpages in, 242
      searching, 33
scrollback buffer, 23-24
Scrollback menu, 33
search command (vi), 98
Secure Keyboard Entry feature (Terminal application), 28
security
      file permissions and, 71-78
      passwords and, 78
      remote access and, 188
semicolon (;), on command line, 17
sessions
      ending, 39
      frozen (hung), 47
      printing, 33
      saving as text files, 33
set noclobber command, 146
sftp command, 193
sftp program, 190
sh (Bourne shell), 34
shared directories, mounting, 52
shell, x, 34
      advanced customization, 43-46
      changing settings for Terminal, 20
      customizing environment, 40-43
      determining shell in use, 34
      exiting, while running commands, 40
      types of, 34
      wildcards used in, 86
shell aliases, 245
shell programming, 246-248
shell script wrappers, 179
Shell settings of Terminal, 20
.signature file, 234
Silverman, Richard, 188
-size (find primary), 129-131
sizes of files, matching by, 129-131
slash (/)
      in absolute pathnames, 52
      indicating root directory, 7, 51
      starting pattern in vi, 98, 101
sleep command, 174-175
SMTP (Simple Mail Transfer Protocol) server, supported by Pine, 230
sockets, 58
sort command, 153-155
      uniq command and, 155
[:space:] option (regexes), 123
spaces in filenames, 16
      copying/pasting, 29
      refrain from using, 84
Spafford, Gene, 72
special characters, in filenames and directory names, 84
Spotlight application, xiv, 137-142
ssh program, 181-188
      syntax for, 187
SSH: The Secure Shell, 188
standard input, 143-148
standard output, 143-148
      filtering, 149
status of background processes, checking, 165-172
storage space used by directories, 63
Strang, John, xviii
string encoding, nonstandard, 25
subdirectories, 51
subshells, logging out of, 40
sudo apt-get install gimp command, 234
sudo command, 43, 72, 79-81
superuser, 35
      sudo command and, 79-81
suspend character, 47, 165
swapping pages in memory, 171
symbolic links, 58
      creating, 114
system administration, x
system log, viewing, 173
system resources, monitoring consumption of, 169

T[ Top ]
-t option (pr command), 159
Tabbed C shell (tcsh), 34
tail command, 152
      viewing system log with, 173
tar (tape archiver) program, 116
tcsh (Tabbed C shell), 34
telnet program, 186
.term files, 31
Terminal application, x, xii
      changing preferences, 19-28
      customizing sessions, 30-32
      default shell used by, 15
      frozen sessions, 47
      in X11, 204
      launching, 10, 14-30
      starting, 33
      using the ps command, 2
Terminal Inspector
      Buffer settings, 23-24
      Color settings, 25
      Display settings, 24
      Emulation settings, 22
      Keyboard settings, 27
      Processes settings, 21
      setting defaults using, 20
      Shell settings, 20
      Window settings, 27
Terminal Pal utility, 32
Terminal session, 33
text editors
      BBEdit, 93
      choosing, 93
text, redirecting to files, 145-148
TextEdit graphical text editor, 93
time tests, searching for files by, 133
titles of windows, fine-tuning, 27, 30
Todino, Grace, xviii
top command, 13, 169-172
tr command (translator utility), 94, 150
      input redirection, 144
transferring files between computers, 188-198
troubleshooting
      cat command, entering without a filename, 145
      cd to filenames not allowed, 56
      chmod problems, 77
      cp command errors, 108
      exit command errors, 40
      kill command errors, 176
      man command errors, 244
      mistyped commands, 38
      unable to write writable file, 77
TT (terminal type), 3, 166
type codes, 178
-type (find primary), 130, 135

U[ Top ]
u command (vi), 100
\u (escape sequence), displaying username in prompt, 42
-U option (ps command), 166
unalias command, 46
uncompressing files, 116
Unicode (UTF-8) encoding, 25
uniq command, 155
universities, online documentation at, 245
Unix
      applications for, xi
      command-line interface, x
      customizing the experience, 245-248
      displaying all commands, 8
      documentation about, 240-245
      history of, xi
      interfaces to, xii
      most common commands, 12
      reasons to use, 1-6
      versions of, xii
Unix in a Nutshell, 247
Unix Power Tools, 247
Unix Programmer's Manual, 241
unmounting iDisk, 197
Up Arrow key, 37
updatedb command, 127
[:upper:] option (regexes), 123
-user (find primary), 130, 132
username
      displaying in prompt, 42
usernames, 14
users
      Admin user, 72
      admin user, 79
      superuser, 35
/Users/Shared directory, 72

V[ Top ]
-v (grep option), 121
-v option (cat command), 89
-v option (gzip program), 116
-v option (tar program), 117
VersionTracker utility, 196
vi Editor Pocket Reference, 95
vi text editor, 92, 94-95
      basics of, 96-102
      copying text, 100
      invoking external Unix commands, 98
      moving cursor around in files, 97
      pasting text, 100
      searching in, 98
vim text editor, 93
Virtual Network Computing (VNC) software, 184
VNC (Virtual Network Computing) software, 184
/Volumes directory, 52, 81, 118
VT-100 emulation, 23

W[ Top ]
:w command (vi), 101
w command (vi), 101
\W (escape sequence), displaying trailing element of working directory, 42
\w (escape sequence), displaying working directory, 42
W (Whereis) command (Pine), 229
w (write permission), 63
      for directories, 72
      for files, 65, 73
wc (word count) program, 125, 150
web browsing with Lynx, 224-227
web pages, downloading with Lynx, 226
web servers, accessing remotely, 185
web sites
      DarwinPorts project, xi
      DropScript utility, 248
      for this book, xviii
      FTP programs, 196
      Google search engine, 244
      Mac OS X Apps, 245
web sites (continued)
      Mac OS X Hints, 245
      Open Darwin, 245
      OpenSSH, 182
      O'Reilly Media, Inc., xviii
      PuTTY, 182
      X11 FAQ, 208
      XFree86, 203
WebDAV filesystem, 196
who command, 18, 36
Wicked Cool Shell Scripts, 20, 126, 180, 247
wildcards for files/directories, 86
      copying files, 106
      in remote filenames, 189
window managers for X11, 202
Window settings of Terminal, 27
windows
      clearing or redrawing, 47
      closing, 48
      cycling between open windows, 33
      opening as .term files, 31
      opening multiple windows, 33
      opening new windows, 29
      titles of, fine-tuning, 27, 30
Windows operating system, accessing files on, 118
word processors, 93
working directory, 50
      changing, 55
      displaying in prompt, 42
      in file listing, 59
      setting permissions for files in, 76
:wq command (vi), 101

X[ Top ]
X clients, 202
X command (vi), 102
x command (vi), 99, 102
x (execute permission), 63
      for directories, 66, 72
+x option (sort command), 154
X servers, 202
X (Set/Unset) command (Pine), 229
X Window System, 202
X11 application, xiv, 201
      application menus in, 207
      Applications menu in, 204, 209
      c-Q command in, 207
      customizing, 208-210
      cutting and pasting with, 206
      differences with Mac OS X, 206-208
      FAQ for, 208
      installing, 203
      Internet and, 210-215
      launching applications from, 207
      .profile file ignored in, 208
      running on other computers, 214
      scrolling xterm with, 207
      starting, 204
xargs program, 134-136
xcalc application (X11), 206
Xcode Tools, 8, 110
      creator and type codes, viewing, 178
[:xdigit:] option (regexes), 123
xeyes application (X11), 206
XFree86, 203
xhost application (X11), 206
xkill application (X11), 206
xload application (X11), 206
xlogo application in X11, 204
xman application in X11, 204
xwud application (X11), 206

Y[ Top ]
y1 command (vi), 100
yw command (vi), 100, 102
yy command (vi), 100, 102

Z[ Top ]
Z shell (zsh), 34
ZIP archives, 115
zsh (Z shell), 34

	

Zurück zu Learning Unix for Mac OS X Tiger


Themen

Buchreihen

Special Interest

International Sites

O'Reilly China O'Reilly France O'Reilly USA O'Reilly Japan O'Reilly Taiwan