You are on page 1of 8

AFZAMI01_0131194496.

qxd 3/20/07 2:31 PM Page 547

Index
A Backspace key, 46, 65 C compiler, 356
Abbreviations, 150 banner command, 462–463, 492, 509 cd command, 92, 120, 510
Absolute pathname, 89 bash command, 305–306, 407, 524 CDpath variable, 279
Access time, 11 Batch operating systems, 16, 21 Central processing unit (CPU), 5–6,
Action options, 238, 240–242 Beginners All-purpose Symbolic 11, 466
Adding text, 62–63 Instruction Code (BASIC), 351 Chaining commands, 282–283
ADD program, 433–438 Beginning of files, 242–243 Change mode keys, 77
Address, electronic, 8 bell command, 483 Change operator, 140–141
A key, 62–63 Bell Laboratories, 21 Change repetition, 72–73
a key, 62–63 Berkeley UNIX, 22 Changing text, 134–136
alias command, 299–300, 310, 509 Binary form, 349 Channel capacity, 11
Alphabetic buffers, 144 bin directories, 87 Characters, erasing, 46
American Standard Code for Bits, 7 Child, 86, 306
Information Interchange b key, 67 Chips, memory, 7
(ASCII), 7–8 Boolean options, 146 chmod command, 365–367, 407,
Ampersand (&), 281–282 Boot block of disk, 251 476–477, 510
Anonymous FTP, 485–487 Booting the system, 48 Clearing screen, 370
-a option, 284, 461 -b option, 41, 225, 291, 461, 473, 510 COBOL, 351
Appending files, 218 Bourne again shells. See Korn and Code, 352
append variable, 339–340 bourne again shells Command-driven user interface, 14, 26
Application software, 17. See also Bourne shells, 47 Command execution, 268–269, 280
Menu-driven applications [ ] metacharacter, 236–237 Command index, 501–503
Arguments, 38, 376 Brackets ([ ]), 380 Command index by category, 505–508
Arithmetic and logic unit, 6 Branching, multiway, 424–426 Command languages, 15, 363
Arithmetic operations, 393–396 Broadcasting messages, 322–323 Command layer, 14–15
Arrow keys, 59–60, 65–68, 78 Buffer, 76, 141–144 Command line, 36–38, 376–379
ASCII, 7–8 Built-in commands, 46, 268 Command mode, 57, 60, 66–75
ASCII table, 541–545 Bytes, 7 Command option, 129–130
asksub variable, 340 Commands
Assembler language, 350 C built-in, 46, 268
Assembly language, 21 cal, 510 chaining, 282–283
* metacharacter, 235–236 calendar command, 42, 50, 466–467, for communication, 343–345
at command, 463–465, 492, 509 492, 510 for Emacs editor, 200–204
-atime option, 239–240 cancel command, 113–114, 120, 510 executing, 371–372
AT&T, 22 Canned error message, 432 for file system, 120–121, 254–259
autoindent option, 147–148 case construct, 424–427 FTP, 480–481
Case sensitivity, 32, 37 grouping, 281
B cat command, 109–110, 216–218, 510 history list of, 302–304
Background processing, 269, 281–282 Category testing, 385–390 for logging in and out, 50–51
Backslash (\), 270, 272, 369 cat -n command, 363 miscellaneous, 492–495

547
AFZAMI01_0131194496.qxd 3/20/07 2:31 PM Page 548

548 Index

Commands (continued) D E
to run later, 463–465 Data representation, 7–8 Editing multiple files, 130–134
sequencing, 280–281 Data transfer rate, 11 Editor, 55–56. See also vi editor and
shell, 310–312, 403, 407–408 Date and time, 104, 463 Emacs editor
for shell script applications, 52–454 date command, 38, 50, 511 Editor variable, 340
tilde escape, 329–332 dd keys, 69–71 EDIT program, 433
type of, 465 Dead variable, 340 e key, 67
for vi editor, 76–79, 156–157 Debugging, 403–406 Elapsed time, 465–466
See also entries for specific Default error device, 356 Electronic address, 8
commands Delays, timing, 283 Electronic mail (e-mail), 324–329
Command substitution, 280, 375–376 DELETE program, 446–448 Emacs editor, 161–207
Comments, 374 Deleting buffers in, 190–192
Common Business Oriented Language files, 115–120 cancel a command, 189
(COBOL), 351 mail, 336–337 case conversion, 186–187
Common Desktop Environment operator for, 137–138 command line options, 200
(CDE), 24 text, 68–71, 134–136 command summary for, 200–204
Communication, 317–346 Delimiter character, 247, 437–438 cursor movement keys in, 178
command summary for, 343–345 dev directories, 87 deletion in, 179–183
electronic mail and, 324–329 Development, program. See Program description of, 163
mailx command mode and, 333–339 development echo line, 170
mailx environment and, 339–342 Device-independent input and .emacs file, 199–200
mailx input mode and, 329–333 output, 26 ending, 170–173
messages and, 320–321, 322–323 df command, 459, 493, 511 file manipulation, 187–189
news and, 321–322 Dictionary file, 473–474 file recovery in, 192–194
outside local system, 342 Digital Equipment Corp. finding files, 188–189
two-way, 319–320, 323–324 (DEC), 21 GNU Emacs, 163
Compilers, 350, 353 Direct access, 9 help, 173–178
compress command, 487–488, 510 Directories, 86–109 menu bar, 165–166
Computers, 1–18 creating, 93–97 mode line, 169–170
hardware for, 4–9 files in, 85 rearranging text in, 183–186
overview of, 3–4 home, 88, 92–93, 251–252 screen, 165–170
process operations of, 10–11 important, 87–88 search commands, 194
software for, 12–17 invisible files in, 105–106 searching and replacing in, 194–197
Contents of files. See File system listing via ls command, 98–105 starting, 164–165
Control unit, 6, 10 multiple options and, 107–109 text mode, 166–168
-c option, 245–246, 470 pathnames for, 89–92 windows in, 197–199
Copying permission mode of, 477 Embedded spaces, 278
files, 217–218, 223–227 removing, 98 Encryption, file, 478
text, 134–136, 139–140 working, 88–89, 92–93 Ends of files, 243–244
Correcting mistakes in programs, Disks, 5, 85, 251, 459–462 Environment
356–357 Displaying operating system, 15–16
Correcting text, 68, 78 files, 109–110 variables for, 274
Counting words, 232–233 mail, 334–336 vi editor, 147–149, 157
cp command, 223–227, 254, 510 news, 321–322 Environmental control, 269
C programming, 21, 351, 354–357 DISPLAY program, 438–442 Env variable, 296
C++ programming, 351 Display terminal, 9. See also -e option, 270–271
CPU, 5–6, 11, 466 Terminals Equal sign (=), 375
Creating directories, 93–97 Distributing files, 468–472 Erasing characters, 46
Creating files, 216–217 Documentation, 374 Error messages, 356, 432
CRT (cathode ray tube), 9 $ key, 67 ERROR program, 432–433
crt variable, 340 -d option, 112, 246, 247, 291 Error, standard, 357
crypt command, 478, 487, 493, 511 . (dot) command, 371–372, Errors, typing, 45–46
C shells, 47 407, 511 Escape characters, 369. See also echo
Current directory, 89 . (dot) key, 72–73 command; Tilde (~) escape
Cursor movement keys, 59–60, 65, .exrc file, 151–152 commands
66–68, 78 .mailrc file, 341–342 escape variable, 340
Cursor positioning keys, 144–145 Double quotation marks (“), 272 Escaping metacharacters, 271–274
Cut-and-paste operations, 134–136, 156 du command, 460–462, 493, 511 etc directories, 88
cut command, 244–246, 254, 511 echo command, 269–271, 310, Event numbers, 305
Cycles, 10–11 369–370, 512 ! mark, 152–153
AFZAMI01_0131194496.qxd 3/20/07 2:31 PM Page 549

Index 549

-exec option, 241 pathnames in, 92 if-then-elif construct, 382–384


exec routine, 307 printing, 110–115, 218–222 if-then-else construct, 381–382
Executable code, 352 reading, 211–213 ignorecase option, 148
Executable programs, 352–354 removing directories from, 98 ignoreeoff option, 297
Executing commands, 371–372 selecting parts of, 244–246 I key, 61–62
Executing shell scripts, 364–367 shell redirection in, 213–218 i key, 61–62
Execution, command, 268–269, 280 File transfer mode commands, 483 i-list block of disk, 251
Execution cycle, 11 File Transfer Protocol (FTP), 479–487, Inhibiting messages, 320–321
ex family of editors, 127 493–494 init process, 48, 307
exit command, 379, 407, 512 find command, 255, 513 i-node list, 250
Exiting mailx, 328–329 Finding files, 237–242 i-node number, 250
export command, 295–296, 310, 512 finger command, 467–468, 493, 513 i-nodes, 251
expr command, 394–395, 407, 512 Firmware, 7 Input and output, device-independent,
.exrc file, 151–152 Flags for vi editor, 145–152 26
Extensions, filename, 91 folder variable, 340–341 Input devices, 5
External storage, 9 -f option, 245, 284, 470 Input mode, text, 57, 60–65
Fork, 306–309 Input redirection, 215
F For loop, 397–399 Inserting text, 61–62
fc command, 302–304, 310 Formatter, text, 55–56 Instruction cycle, 10
Fields, sorting on, 292–294 Formula Translator (FORTRAN), 351 Instruction pointer register, 10
Filename extensions, 91 Forward slash (/), 72, 89, 90 Interface, user, 14, 26–27
Filename substitution, 269 FTP, 482–483, 513, 514 Internal Field Separator (IFS)
Files. See also File Transfer Protocol Full pathname, 89 variable, 277
(FTP) Internal file tracking, 250–254
compressed, 487–488 G Internal memory, 6–9
dictionary, 473–474 General Electric Corp., 21 Interpreters, 350, 353–354
encryption of, 478 getty program, 48 Interrupt character, 46
executable, 365–367 Gigabytes, 8 interrupt signal, 416
library, 352 Graphical user interface (GUI), 14, 26 Invisible files, 105–106
mailing, 332–333 Grave accent mark (`), 273, 280 Invoking shell scripts, 364–365
.mailrc, 341–342 greetings program, 426–427 -i option, 116–120, 226, 292
from other systems, 483–484 grep command, 288–290, 311, 515 I/O redirection, 269
.plan and .project, 468 Group, file, 104
saving and distributing, 468–472 Grouping commands, 281 J
security of, 476–477 Java programming language,
startup, 294–296 H 351
test command and, 388–390 hang-up signal, 416 Joining, 153–154, 246–248
transfer to other systems, 486–487 Hard coded error message, 432
File system, 83–124, 209–262 Hard copy, 9 K
beginning of files in, 242–243 Hardware, 4–9 Kernel layer, 14, 25
command summary for, 120–121, hash command, 483 Keyboard, 5
254–259 head command, 242–243, 255, 515 Keys, cursor movement, 59–60,
copying in, 223–227 header variable, 341 66–68
counting words in, 232–233 Help, 41, 43–45, 50, 75, 155, 515 Kill character, 46
creating directories in, 93–97 Hidden files, 105–106, 237 kill command, 285–286, 311, 516
deleting files from, 115–120 Hierarchical directory structure, kill signal, 416
directories in, 86–91 86–87, 94 Kilobytes, 8
disk organization for, 85 Hierarchical file system, 26 Korn and bourne again shells, 47,
displaying contents of, 109–110 Hierarchy chart, 427–428 296–306
ends of files in, 243–244 High-level languages, 350–351 alias command and, 299–300
file types in, 85 history command, 300–301, 311, 515 command line and, 298–299
finding in, 237–242 Histsize variable, 296 commands history list in, 302–304
hierarchical, 26 h key, 67 event numbers added to, 305
internal tracking by, 250–254 Home directory, 88, 92–93, 251–252 history command and, 300–301
joining files in, 246–248 Home variable, 276–277 login and startup of, 304–305
linking in, 229–231 Hyphen (-), 243 options for, 297
listing directories in, 98–109 prompt variable of, 305–306
moving in, 227–229 I redoing commands in, 302
name substitution in, 234–237 Icons, 14, 26 variables in, 296–297
pagers in, 248–250 if-then construct, 380–381 ksh command, 407, 524
AFZAMI01_0131194496.qxd 3/20/07 2:31 PM Page 550

550 Index

L Loop constructs, 396–403 MIPS (millions of instructions per


Languages, 349–351, 363 Low-level languages, 350 second), 11
learn command, 43, 51, 516 lp command, 110–113, 120, 218, 516 Mistakes, 45–46, 356–357
less command, 250 lpr command, 113, 120, 516 mkdir command, 94–97, 120, 519
let command, 396, 401–402, 407, 516 lpstat command, 114–115, 120, 517 Mnemonics, 350
Library files, 352 ls command, 98–105, 120, 517 Model, operating system, 14–15
Light pen, 5 Monitor, 9
Line editor, 55, 298–299 M -m option, 112
Line length, 149–150 Machine language, 350 more command, 248–250,
Lines Macros, 150–151 256, 520
copying, 136 magic option, 148 Mouse, 5
erasing, 46 Magnetic disks, 5 Moving, 134–136, 227–229
joining, 153–154 Mailboxes, 325 -mtime option, 240
moving, 135–136 Mailcheck variable, 278 Multics, 21
number of, 213 .mailrc file, 341–342 Multiple files, editing, 130–134
opening, 64–65 Mail variable, 278 Multitasking, 15, 26
Link editor, 352 Mailx, 517 Multiusers, 15–16, 26
Links, file, 104, 229–231 command mode for, 333–339, Multiway branching, 424–426
Linux, 23 343, 518 mv command, 227–229,
alternative command options in, environment of, 325, 339–342 256, 520
222, 462, 471 input mode for, 329–333
alternative cp options in, 226–227 tilde escape commands for, 344, 519 N
alternative cut options in, 246 Mainframe computers, 3 Named buffers, 144
alternative ln options in, 231 Main memory, 7, 9, 13 -name option, 238–239
alternative mv options in, 229 make utility, 358 Names
alternative options to grep Management, process, 306–309 command, 37
command, 290 man command, 38, 44–45, 51, 519 file and directory, 90–91,
alternative options to tee command, mbox file, 325 104–105
287 Mbox variable, 341 login, 31
alternative paste options in, 248 Measurement, performance, 11 substitutions of, 234–237
alternative pr options in, 220 Megabytes, 8 -newer option, 240
alternative tail options in, 244 Memory New password, 33
alternative wc options in, 233 buffer for, 76 news command, 321–322,
help option in, 41 capacity of, 16–17 344, 520
lpr command in, 113 internal, 6–9 noclobber option, 297
pager in, 250 main, 13 nohup command, 285, 311, 521
vi editor help in, 75 virtual, 17 Nonvolatile storage, 9
vim editor for, 155 Menu-driven applications, 427–452 -n option, 112, 292, 405–406
List ADD program as, 433–438 Novel, Inc., 23
commands history, 302–304 DELETE program as, 446–448 nroff utility, 55
directories, 98–109 DISPLAY program as, 438–442 Numbered buffers, 141–144
i-node, 250 EDIT program as, 433 number options, 148
l key, 67 ERROR program as, 432–433 Numbers
ln command, 229–231, 255, 516 REPORT_NO program as, event, 305
Load module, 352 450–452 i-node, 250
Local variables, 274 REPORTS program as, page, 213
lock1 program, 413–415, 421–424 448–449 process ID, 283–284
Logging in and out, 29–52, 304–305, ULIB program as, 428–432 Numeric options, 146
370–371 UPDATE program as, 442–446 Numeric values, 386–387
calendar display and, 42 Menu-driven user interface, 14, 26
command line and, 36–38 mesg command, 320–321, 344, 519 O
command summary for, 50–51 Messages, 320–321, 322–323, Object code, 352
date command and, 38 422–424 Object-oriented programming
help and, 43–45 Metacharacters, 234–237, 270, (OOP), 351
password changes for, 32–36 271–274, 280–283 O key, 64–65
process of, 31–32, 48–50 MFLOPS (millions of floating-point o key, 64–65
shells and utilities and, 46–48 operations per second), 11 -ok option, 241–242
typing mistakes and, 45–46 Microcomputers, 4 Old password, 33
user information and, 38–41 Minicomputers, 4 Online manual, 44–45
Logic unit, 6 Minus sign (-), 40 -o option, 292
AFZAMI01_0131194496.qxd 3/20/07 2:31 PM Page 551

Index 551

Opening lines, 64–65 P Punch cards, 21


Operating system, 13–16. See also Page number, 213 put command, 486
Unix operating system Pagers, 248–250 pwd command, 92, 121, 523
Options, 37 Pager variable, 340, 341
at, 464–465 Pages, 17 Q
action, 238, 240–242 Paging keys, 156 q command, 328–329
autoindent, 147–148 Parameters, 376–379, 390–393 :q command, 74
-c, 470 Parent, 86, 306 :q! command, 74
command, 129–130 Parentheses ( ), 281 Q key, 248–250
command line editing, 298 —parents option, 97 q key, 248–250
cp, 225–227 Pascal, 351 -q option, 40
cut, 244–246 Passwords, 32–36, 51, 475–476, 521 ? key, 72
du, 460–462 paste command, 246–248, 257, 521 ? metacharacter, 234–235
echo, 269–271 Path modification, 371–372 quit command, 79, 129
fc, 303 Pathnames, 89–92, 238 quit signal, 416
find, 237–240 Path variable, 278 Quotation marks (“), 272–273, 375, 390
finger, 468 Pattern search, 72 Quoting metacharacters, 271–274
formats as, 146–147 PCs, 4
grep, 288–290 Performance measurement, 11 R
head, 242–243 . (period) key, 72–73 Random access device, 9
ignorecase, 148 Permission mode, directory, 477 Random access memory (RAM), 7
lp, 111–113 Personal computers, 4 r command, 312
lpr, 113 pg command, 211–212, 257, 521, 522 read command, 372–374, 407, 523
ls, 101–103 Pipe operator, 282–283 Reading
magic, 148 Pipes, 269 files, 211–213
mailx, 328–329 P key, 136 inputs, 372–374
more, 248–250 p key, 136 mail, 326–328, 334–336
multiple, 107–109 .plan files, 468 Read only memory (ROM), 7
mv, 228–229 PL/1 language, 21 Read only option, 128–129, 211
-name, 238–239 Plus sign (+), 243 Real time, 465–466
news, 321–322 -p option, 96 Record retrieval, 438
number, 148 Portability of UNIX, 25 record variable, 341
-p, 96 Portable Operating System Interface for Recover command, 155
—parents, 97 Computer Environment Recovery, 69–71, 154–155
paste, 246–248 (POSIX), 22 Recursive search, 238
pr, 219–222 pr command, 218, 258, 522 Redirection
ps, 284 Printing files, 110–115, 218–222 I/O, 269
read only, 128–129 -print option, 241 shell, 213–218
report, 148–149 Private mailbox, 325 of standard error, 357
rm, 116–120 Processes, 25 Redoing commands, 302
scroll, 149 Process ID number, 283–284 Re-enter new password, 33
shell, 297, 404–406 Processing, background, 269, 281–282 Registers, 6, 10
shiftwidth, 149 Process management, 306–309 Regular files, 85
showmode, 149 Process operations of computers, 10–11 Relational operators, 395–396
-size, 239 Processor unit, 5–6 Relative pathname, 90
sort, 291–292 Process status, 283–284 Reminders, 466–467
spell, 472–473 Program development, 347–359 Remote computing, 490–492, 496
tail, 243–244 C program example, 354–357 rcp, 490–491, 496
tar, 469–470 languages for, 349–351 rsh, 491, 496
tee, 287 mechanics of, 352–354 rlogin, 492, 496
terminal, 417–418 tracking utilities for, 358 Removing directories, 98
terse, 149 Programs, 12, 46. See also Menu-driven Repeating changes, 72–73
for vi editor, 145–152 applications Replacing, 71–72, 154
vi invocation, 128–130 .project files, 468 Replying to mail, 338–339
wc, 233 Prompts, 32, 305–306 REPORT_NO program, 450–452
wrapmargin, 149–150 Prompt strings, 278–279 report option, 148–149
Output devices, 9 pr options, 219–222 REPORTS program, 448–449
Output redirection, 213–215 ps command, 283–284, 311, 523 Resetting traps, 417
Output, splitting, 286–287 PS1 variable, 278 Resident modules layer, 25
Owner, file, 104 PS2 variable, 278–279 Resource manager, 13
AFZAMI01_0131194496.qxd 3/20/07 2:31 PM Page 552

552 Index

Return key, 65, 67, 248 Shells, 15, 263–315 Speed, CPU, 11
Ritchie, Dennis, 21 command summary for, 310–312 spell command, 472–474, 495, 524
R key, 71–72 displaying information in, 269–271 Spelling correction, 472–474
r key, 71–72 functions of, 268–269 Splitting output, 286–287
rm command, 121, 523 korn and bourne again, 296–306 Standard error, 357
rmdir command, 98, 121, 523 mailx variable in, 339–341 Standard error device, 357
rm options, 116–120 metacharacters in, 271–274, Standard output device, 357
Root, 477 280–283 Standard prompt, 32
Root directory, 86 process management and, 306–309 Standards, UNIX, 22
-r option, 116–120, 226, 292 process status and, 283–284 Standard variables, 274
r (redo) command, 302 redirection of, 213–218 Startup, 294–296, 304–305
searching and, 288–290 Status line, 57
S sorting and, 290–294 Status, process, 283–284
Santa Cruz Operation (SCO), 23 standard error redirection and, 357 Storage, external, 9
Saving, 337–338, 468–472 starting, 267–268 String options, 146
sbin directories, 87 startup files and, 294–296 String values, 387–388
Scanner, 5 terminating processes and, 285–287 Structure, 86–87, 94, 251
SCCS utility, 358 timing a delay in, 283 Structured programming, 351
Scope keys, 156 as user interface, 26–27 stty command, 417–418, 453, 525
Scope of operators, 137–141 using, 46–48 Substitution
Screen, clearing, 370 variables of, 274–279 command, 280, 375–376
Screen editor, 55 vi editor commands for, 152–153 filename, 269
Scripts, shell, 27, 269, 364–374 Shell script applications, 411–455 name, 234–237
executable files and, 365–367 ADD program as, 433–438 parameter, 390–393
executing commands in, command summary for, 452–454 Sun Microsystems, Inc., 23, 351
371–372 DELETE program as, 446–448 Super block of disk, 251
invoking, 364–365 DISPLAY program as, 438–442 Supercomputers, 3
logging off, 370–371 EDIT program as, 433 Superuser, 477
reading inputs in, 372–374 ERROR program as, 432–433 Swap space, 17
special characters in, 369–370 hierarchy chart as, 427–428 Syntax error, 356
scroll option, 149 internal signals and, 415–418 System mailbox, 325
Search commands, 79 lock1 program as, 413–415 System profile, 294–295
Searching, 154, 288–290 menu-driven, 427–452 System services, 27
Search option, 238 multiway branching and, 424–426 System software, 12–17
Search, pattern, 72 record retrieval as, 438 System time, 466
Secondary storage, 9 REPORT_NO program as, 450–452 System V Interface Definition
Security, 35, 475–478 REPORTS program as, 448–449 (SVID), 22
Semicolon (;), 280–281 terminals and, 419–424 System V, UNIX, 22
Sending mail, 326, 333 ULIB program as, 428–432
Sequencing commands, 280–281 UPDATE program as, 442–446 T
Service layer, 14–15 Shell variable, 279, 341 Tab key, 65
Session, 31, 482–483 shiftwidth option, 149 tail command, 243–244, 259, 525
set command, 146–147, 274–275, showmode option, 149 talk command, 323–324, 344, 525
312, 523 Signals, 285–286, 415–418 tar command, 468–472, 495
sh command, 364, 407, 524 Single quotation marks (‘), 272–273 tar-format, 487, 526
Shell escape command, 484–485 Single-tasking operating system, 15 tee command, 286–287, 312, 526
Shell programming, 361–409 Size of file, 104 telnet, 488–490, 496
arithmetic operations in, 393–396 -size option, 239 telnet from Windows, 489–490
category testing in, 385–390 sleep command, 283, 312, 524 Terminals, 9, 417–418, 419–424
command line parameters in, Soft copy, 9 Terminating, 46, 285–287, 379
376–379 Software, 12–17 Term variable, 279
command summary for, 407–408 Solaris, 23 terse option, 149
conditions and tests in, 379–385 -s option, 462 test command, 384–390, 408, 526
debugging, 403–406 sort command, 290–294, 312, 524 Testing, 379–390
introduction to, 363–367 Source code, 352 Text
loop constructs in, 396–403 Spacebar, 65, 248 correcting, 68, 78
parameter substitution in, S (parameter), 391–393 deleting, 68–71
390–393 Special files, 85 formatting, 55–56
scripts in, 367–374 Specified field sorting, 292–294 inputting, 57, 60–65
variables in, 374–376 Specifying page or line number, 213 replacing, 71–72
AFZAMI01_0131194496.qxd 3/20/07 2:31 PM Page 553

Index 553

Thompson, Ken, 21 User’s Manual, 44–45 setting environment of, 147–149,


Tilde (~) escape commands, 273, User time, 466 533
329–332, 344 usr directories, 87 shell commands in, 152–153
time command, 465–466, 495, 526 Utilities, 27, 46–48, 358. See also File summary of commands, 529–533
Time, date and, 104, 463 system; Shells text correction in, 68
Time-sharing operating system, 16 Utility layer, 25 text input mode in, 60–65
Timing delays, 283 view command, 129, 211
Tmout variable, 296 V view editor, 56
-t option, 112–113, 459, 470 Values, 275–276, 378, 386–388 Virtual computer, 25
Torvalds, Linus, 23 Variables Virtual memory, 17
Touch screens, 5 empty, 391 vi-style command line editor,
tput command, 419–421, 453, 527 prompt, 305–306 298–299
Tracking utilities, 250–254, 358 shell, 274–279, 374–378 Visual variable, 297, 341
Transfer rate of data, 11 VDT (video display terminal), 9 Volatile memory, 7
trap command, 416–417, 454, 527 vedit editor, 56 -v option, 405, 470, 473
“Tree” directory structure, 86–87, 94 vi editor, 53–81, 125–160
troff utility, 55 access to, 58–59 W
Two-state machines, 6 buffers in, 141–144 Wait routine, 307
Two-way communication, 319–320, change mode keys, 530 wall command, 322–323, 345, 528
323–324 change repetition in, 72–73 wc command, 232–233, 258, 528
type command, 465, 495, 527 command summary for, 76–79, :w command, 74
-type option, 239 156–157 While loop, 399–402
Typing mistakes, 45–46 correcting text keys, 530 who command, 38–41, 51, 467, 528
TZ variable, 279 cursor movement keys in, 59–60, w key, 67
66–68, 531 -w option, 112
U cursor positioning keys in, 144–145 Word count, 232–233
U key, 71–72 cut-and-paste keys, 532 Word size, 8
u key, 69–71 customizing, 145–152 Work buffer, 76
ULIB program, 428–432 deletion in, 68–71 Working directories, 88–89, 92–93
uncompressed command, 487–488 description of, 55–57 :wq command, 73–74
undelete command, 337 editing multiple files in, 130–134 wrapmargin option, 149–150
Undo command, 68 exiting, 73–74 write command, 319–320, 345, 528
UNIX operating system, 19–27 file recovery in, 154–155 Writing to multiple files, 133–134
features of, 25–27 invoking, 127–130
history of, 21–22 joining lines in, 153–154 X
Linux and, 23 Linux help for, 75 x command, 328–329
overview of, 24–25 memory buffer for, 76 x key, 68–69
Solaris and, 23 paging keys, 532 -x option, 404–405, 471, 473
UnixWare and, 23 pattern search in, 72 X Window System, 24
unset command, 274–275 quit commands, 531
Until loop, 402–403 read only version of, 211 Y
UPDATE program, 442–446 rearranging text in, 134–136 Yank operator, 139–140
User ID, 31 scope keys, 532 yy operator, 136
User information, 38–41 scope of operators in, 137–141 0 (zero) key, 67
User interface, 14, 26–27 search commands, 531
User profile, 295–296 searching and replacing in, Z
Users, 467–468 71–72, 154 ZZ command, 74
AFZAMI01_0131194496.qxd 3/20/07 2:31 PM Page 554

You might also like