Skip to content

Your UNIX The Ultimate Guide

Best in textbook rentals since 2012!

ISBN-10: 0072405007

ISBN-13: 9780072405002

Edition: 2001

Authors: Sumitabha Das

List price: $85.00
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Customers also bought

Book details

List price: $85.00
Copyright year: 2001
Publisher: McGraw-Hill Higher Education
Publication date: 12/18/2000
Binding: Paperback
Pages: 960
Size: 7.30" wide x 9.00" long x 1.41" tall
Weight: 2.310

Prefacep. vi
List of Tablesp. xxiii
Getting Startedp. 1
The Operating Systemp. 2
The UNIX Operating Systemp. 3
Knowing Your Machinep. 3
Knowing Your Keyboardp. 4
The System Administratorp. 6
Logging In and Outp. 7
Trying Out Some Commandsp. 9
Two Important Observationsp. 13
When Things Go Wrongp. 14
Yet Another Session: Working with Files and Directoriesp. 16
How It All Clickedp. 19
Linux and GNUp. 22
Inside UNIXp. 22
Summaryp. 26
Self-Testp. 27
Exercisesp. 28
Key Termsp. 29
Understanding the UNIX Commandp. 31
General Features of a Commandp. 31
The PATH: Locating Commandsp. 32
Internal and External Commandsp. 33
Command Structurep. 34
Flexibility of Command Usagep. 38
man: On-Line Helpp. 40
The man Documentationp. 42
info: The Texinfo Documentationp. 46
whatis and apropos: Which Command Will Do the Job?p. 48
Summaryp. 50
Self-Testp. 51
Exercisesp. 51
Key Termsp. 52
General-Purpose Utilitiesp. 53
passwd: Change Your Passwordp. 53
who and w: Know the Usersp. 55
tty: Know Your Terminalp. 56
lock: Lock Your Terminalp. 57
stty: Set Terminal Characteristicsp. 57
script: Record Your Sessionp. 59
clear and tput: Clear Your Screenp. 60
uname: Know Your Machine's Namep. 60
date: Display the System Datep. 61
cal: The Calendarp. 61
calendar: A Useful Reminder Mechanismp. 62
bc: The Calculatorp. 63
Summaryp. 65
Self-Testp. 66
Exercisesp. 66
Key Termsp. 66
The vi/vim Editorp. 67
vi Preliminariesp. 68
Quitting vi--The Last Line Modep. 70
Inserting and Replacing Textp. 72
Saving Text (:w)p. 77
Exit to the UNIX Shellp. 79
The Repeat Factorp. 80
The Command Modep. 80
Navigationp. 80
Operatorsp. 84
Deleting, Moving and Yanking Textp. 86
Changing Text (c and *)p. 89
The Dot: Repeating the Last Commandp. 91
Undoing Last Editing Instructions (u and U)p. 92
String Searchp. 92
Searching with Regular Expressionsp. 95
Search and Replace (:s)p. 97
Handling Multiple Filesp. 98
Marking Textp. 102
Filtering Text--The ! Operatorp. 103
Named Buffers: Copying and Moving Multiple Text Sectionsp. 104
Recovering Multiple Deletionsp. 105
Abbreviating Text (:ab)p. 105
Customizing the Keyboard (:map)p. 106
Customizing the Environment (:set)p. 107
Summaryp. 108
Going Furtherp. 109
Self-Testp. 110
Exercisesp. 110
Going Furtherp. 111
Key Termsp. 111
The GNU emacs Editorp. 113
emacs Preliminariesp. 114
Quitting emacsp. 118
Inserting and Replacing Textp. 118
Saving Textp. 120
The Digit Argumentp. 122
Navigationp. 123
Working with Regionsp. 127
Deleting, Moving and Copying Textp. 128
Changing Case of Textp. 132
Command Completionp. 133
Undoing and Redoing Editingp. 135
String Searchp. 136
Searching with Regular Expressionsp. 138
Search and Replacep. 141
Using Multiple Files, Windows and Buffersp. 142
Escape to Shellp. 147
Using the Help Facility ([Ctrl-h])p. 148
Marking Textp. 150
Filtering Textp. 151
Storing Multiple Text Sectionsp. 152
Recovering Multiple Deletions ([Alt-y])p. 152
Abbreviating Text (abbrev-mode)p. 153
Customizing the Keyboardp. 153
Using Macrosp. 154
Customizing the Editor Environmentp. 155
Summaryp. 157
Going Furtherp. 158
Self-Testp. 159
Exercisesp. 159
Going Furtherp. 160
Key Termsp. 161
The File Systemp. 163
The Filep. 163
What's in a (File)name?p. 165
The Parent-Child Relationshipp. 166
The UNIX File Systemp. 167
pwd: Knowing Your Current Directoryp. 168
Absolute Pathnamesp. 169
cd: Changing Directoriesp. 170
Relative Pathnames (. and ..)p. 172
mkdir: Making Directoriesp. 175
rmdir: Removing Directoriesp. 176
cp: Copying Filesp. 177
rm: Deleting Filesp. 179
mv: Renaming Filesp. 180
cat: Displaying and Creating Filesp. 181
file: Know the File Typesp. 182
lp and cancel: Printing a Filep. 183
df: Finding Out the Free Disk Spacep. 185
du: Finding Out Your Own Consumptionp. 186
compress, gzip and zip: Compress Your Filesp. 187
Conclusionp. 189
Summaryp. 189
Self-Testp. 190
Exercisesp. 191
Key Termsp. 192
File Attributesp. 193
ls: Listing Filesp. 193
ls -l: Listing File Attributesp. 197
Listing Directory Attributes (ls -d)p. 199
File Permissionsp. 199
chmod: Changing File Permissionsp. 201
Directory Permissionsp. 206
umask: Default File Permissionsp. 207
File Ownershipp. 208
chown and chgrp: Changing File Ownershipp. 210
File Modification and Access Timesp. 211
touch: Changing the Time Stampsp. 213
File Systems and Inodesp. 214
ln: Linksp. 214
Symbolic Linksp. 216
find: Locating Filesp. 218
Summaryp. 223
Self-Testp. 224
Exercisesp. 225
Key Termsp. 226
The Shellp. 227
The Shell as Command Processorp. 228
Pattern Matching--The Wild Cardsp. 228
Escaping--The Backslash (\)p. 234
Quotingp. 236
Escaping and Quoting in echop. 237
Redirectionp. 238
/dev/null and /dev/tty: Two Special Filesp. 243
Pipesp. 245
tee: Splitting a Streamp. 248
Command Substitutionp. 249
Shell Variablesp. 250
Shell Scriptsp. 252
The Shell's Treatment of the Command Linep. 253
The Other Shellsp. 254
More Wild Cards in the Korn Shell and bashp. 254
Summaryp. 255
Going Furtherp. 256
Self-Testp. 256
Exercisesp. 257
Going Furtherp. 258
Key Termsp. 258
Simple Filtersp. 259
more: Paging Outputp. 260
wc: Line, Word and Character Countingp. 263
od: Displaying Data in Octalp. 264
pr: Paginating Filesp. 266
cmp: Comparing Two Filesp. 267
diff: Converting One File to Anotherp. 269
comm: What Is Common?p. 270
head: Displaying the Beginning of a Filep. 271
tail: Displaying the End of a Filep. 272
cut: Slitting a File Verticallyp. 273
paste: Pasting Filesp. 274
sort: Ordering a Filep. 275
tr: Translating Charactersp. 278
uniq: Locate Repeated and Nonrepeated Linesp. 281
nl: Line Numberingp. 283
dos2unix and unix2dos: DOS and UNIX Filesp. 283
spell: Check Your Spellingsp. 284
Applying the Filtersp. 286
Summaryp. 289
Summing Up Linuxp. 290
Self-Testp. 291
Exercisesp. 291
Key Termsp. 292
The Processp. 293
Understanding the Processp. 293
How a Process Is Createdp. 295
The Login Shell: The First User Processp. 296
The init Processp. 297
Internal and External Commandsp. 297
ps: Process Statusp. 298
Running Jobs in Backgroundp. 303
nice: Job Execution with Low Priorityp. 305
Signalsp. 306
kill: Premature Termination of a Processp. 307
Job Controlp. 309
at and batch: Execute Laterp. 310
cron: Running Jobs Periodicallyp. 312
time: Timing Processesp. 314
Summaryp. 315
Summing Up Linuxp. 316
Self-Testp. 316
Exercisesp. 317
Key Termsp. 318
TCP/IP Networking Toolsp. 319
TCP/IP Basicsp. 319
talk: Real-Time Conversationp. 323
mesg: Your Willingness to Talkp. 324
finger: Details of Usersp. 325
telnet: Remote Loginp. 326
rlogin: Remote Login without Passwordp. 329
ftp: File Transfer Protocolp. 329
rcp: Remote File Copyingp. 336
rsh: Remote Command Executionp. 336
Enforcing Security for the Berkeley r-Utilitiesp. 337
Prelude to the Internetp. 338
Summaryp. 338
Self-Testp. 339
Exercisesp. 340
Key Termsp. 341
The X Window Systemp. 343
Why Use X?p. 344
The Graphical User Interface in Xp. 345
Starting and Stopping Xp. 345
The X Architecturep. 346
Running X Programs Remotelyp. 346
X Techniques and Componentsp. 349
The Window Manager--A Special Clientp. 351
CDE: The Common Desktop Environmentp. 352
xterm: The Main Clientp. 353
Command Line Optionsp. 354
Copy and Pastep. 356
Standard X Clientsp. 358
.xinitrc: The Startup Filep. 359
X Resourcesp. 360
Summaryp. 361
Self-Testp. 362
Exercisesp. 363
Key Termsp. 364
Electronic Mailp. 365
Email Basicsp. 365
mail: The Good Old Mailerp. 368
elm: A Screen-Oriented Mail Handlerp. 369
pine: Yet Another Mail Programp. 372
.signature and .forward: Two Important Filesp. 377
How Mail Worksp. 378
Netscape Messenger: The Most Powerful Mailerp. 379
vacation: Going on Leavep. 387
MIME: Handling Binary Filesp. 387
Summaryp. 390
Going Furtherp. 390
Self-Testp. 390
Exercisesp. 391
Going Furtherp. 392
Key Termsp. 392
The Internetp. 393
The Internet Top-Level Domainsp. 394
The Services on the Internetp. 395
Mailing Listsp. 396
Newsgroupsp. 398
Using tin to Read Newsgroupsp. 401
Using Netscape Messenger for Net Newsp. 404
irc: Internet Relay Chatp. 407
The World Wide Webp. 411
Using the Web Browser: Netscape Navigatorp. 412
Hypertext, HTTP and the URLp. 416
HTML: The Language of the Webp. 419
Saving Web Pages and Graphicsp. 423
Enhancing Browser Performancep. 425
The Bubble that Didn't Burstp. 426
MIME Technology on the Webp. 426
Summaryp. 428
Going Furtherp. 429
Self-Testp. 429
Exercisesp. 430
Going Furtherp. 431
Key Termsp. 431
Filters Using Regular Expressions--grep and sedp. 433
The Sample Databasep. 434
grep: Searching for a Patternp. 434
grep Optionsp. 436
Regular Expressions--Round Onep. 440
egrep and fgrep: The Other Membersp. 446
Regular Expressions--Round Twop. 447
sed: The Stream Editorp. 448
Line Addressingp. 450
Context Addressingp. 452
Editing Textp. 453
Substitutionp. 455
Regular Expressions--Round Threep. 458
Summaryp. 461
Self-Testp. 463
Exercisesp. 463
Key Termsp. 465
Programming with awkp. 467
awk Preliminariesp. 468
Splitting a Line into Fieldsp. 469
printf: Formatting Outputp. 470
The Comparison Operatorsp. 471
Number Processingp. 473
Variablesp. 473
Reading the Program from a File (-f)p. 474
The BEGIN and END Sectionsp. 474
Positional Parametersp. 475
getline: Making awk Interactivep. 476
Built-In Variablesp. 476
Arraysp. 478
Functionsp. 478
Control Flow--The if Statementp. 480
Looping: for and whilep. 482
Conclusionp. 484
Summaryp. 484
Self-Testp. 485
Exercisesp. 485
Key Termsp. 486
Customizing the Environmentp. 487
Which Shell?p. 488
Environment Variablesp. 490
Significance of the Environment (System) Variablesp. 493
Aliasesp. 501
Command Historyp. 505
In-line Command Editing in Korn Shell and bashp. 514
Filename Completionp. 516
Miscellaneous Featuresp. 520
The Initialization Scriptsp. 522
Summaryp. 529
Self-Testp. 531
Exercisesp. 532
Key Termsp. 533
Shell Programmingp. 535
Shell Variablesp. 536
Shell Scriptsp. 537
read: Making Scripts Interactivep. 539
Positional Parametersp. 540
Exit Status of a Commandp. 542
The Logical Operators andand and --Conditional Executionp. 543
exit: Script Terminationp. 544
The if Conditionalp. 545
test and []: Companions of ifp. 548
The case Conditionalp. 555
expr: Computation and String Handlingp. 558
$0: Calling a Script with Different Namesp. 560
sleep and waitp. 561
while and until: Loopingp. 562
Two Sample Scriptsp. 566
for: Looping with a Listp. 568
cpback2.sh: The Final Scriptp. 573
Summaryp. 574
Self-Testp. 576
Exercisesp. 576
Key Termsp. 578
Advanced Shell Programming Including Korn and bashp. 579
set: Assigning Values to Positional Parametersp. 580
The Here Document ([[)p. 584
let: Computation--A Second Look (ksh and bash)p. 585
Redirection--A Second Lookp. 586
user_details.sh: A Script to List User Detailsp. 588
Problems with Sub-Shellsp. 590
Arrays (ksh and bash)p. 592
String Handling (ksh and bash)p. 594
Conditional Parameter Substitutionp. 596
Shell Functionsp. 597
Devising Shell Functionsp. 598
eval: Evaluating Twicep. 601
createuser.sh: Using eval to Create a Userp. 603
The exec Statementp. 604
set -x: Debugging Shell Scriptsp. 607
trap: Interrupting a Programp. 608
Summaryp. 609
Self-Testp. 610
Exercisesp. 610
Key Termsp. 612
Perl--The Master Manipulatorp. 613
perl Preliminariesp. 614
chop(): Removing the Last Characterp. 615
Variables and Operatorsp. 616
The String Handling Functionsp. 617
Specifying Filenames in Command Linep. 618
$_: The Default Variablep. 619
Current Line Number ($.) and the Range Operator (..)p. 620
Lists and Arraysp. 620
ARGV []: Command Line Argumentsp. 622
foreach: Looping Through a Listp. 623
split(): Splitting into a Listp. 624
join(): Joining a Listp. 625
Modifying Array Contentsp. 626
Associative Arraysp. 627
Regular Expressions and Substitutionp. 629
File Handlingp. 632
File Testsp. 633
Subroutinesp. 634
Conclusionp. 636
CGI Programming with perl--An Overviewp. 636
Handling Form Datap. 639
Summaryp. 643
Going Furtherp. 644
Self-Testp. 644
Exercisesp. 645
Going Furtherp. 646
Key Termsp. 646
System Administration I--The File System Revisitedp. 647
The Devicep. 648
Significance of Device Namesp. 649
The Hard Diskp. 651
Partitions and File Systemsp. 652
File System Componentsp. 654
The Directoryp. 658
The Standard File Systemsp. 659
File System Typesp. 659
Creating Partitions and File Systemsp. 660
File System Mounting and Unmountingp. 663
fsck: File System Checkingp. 666
Summaryp. 668
Self-Testp. 669
Exercisesp. 669
Key Termsp. 670
System Administration II--The General Dutiesp. 671
root: The System Administrator's Loginp. 672
The Administrator's Privilegesp. 673
Maintaining User Accountsp. 675
Maintaining Securityp. 679
Bootingp. 681
Shutdownp. 684
Handling Floppy Diskettesp. 685
cpio: Copy Input-Outputp. 688
tar: The "Tape" Archive Programp. 691
Managing the Disk Spacep. 697
Password Administration with passwdp. 700
The rc Scripts Used by initp. 700
Terminal Managementp. 702
Printing Preliminariesp. 704
Administering an SVR4 Printerp. 705
Summaryp. 712
Going Furtherp. 713
Self-Testp. 714
Exercisesp. 714
Going Furtherp. 715
Key Termsp. 716
TCP/IP Network Administrationp. 717
TCP/IP and the Addressing Systemp. 717
Setting Up the Network Interface Cardp. 720
ifconfig: Configuring the Network Interfacep. 721
ping: Checking the Networkp. 722
Routingp. 723
netstat: Displaying the Network Parametersp. 725
inetd: The Internet Daemonp. 726
pppd: The Point-to-Point Protocol (PPP)p. 727
Using PPP to Connect to the Internetp. 728
PAP and CHAP Authenticationp. 733
The Network File Systemp. 734
Summaryp. 736
Self-Testp. 737
Exercisesp. 738
Key Termsp. 738
Going Further--Building the Internet Serverp. 739
The Network at Rational Planetsp. 740
The Domain Name Service (DNS)p. 740
Setting Up DNS--Configuring the Master Serverp. 743
The Secondary and Caching Serversp. 748
Configuring the Resolverp. 749
ndc and nslookup: Testing the Configurationp. 750
The Mail Servicep. 751
sendmail.cf: The Configuration Filep. 754
Aliasesp. 756
Setting Up the Mail Server for planets.comp. 757
POP and IMAP: The Protocols for Offline Usep. 759
Setting Up the Mail System at Velvetp. 761
The Web Servicep. 763
httpd.conf: The Configuration Filep. 764
Virtual Hostingp. 768
Directory Access Controlp. 769
Summaryp. 770
Self-Testp. 772
Exercisesp. 772
Key Termsp. 773
The C Shell--Programming Constructsp. 775
vi/vim and emacs Command Referencep. 781
The Regular Expression Supersetp. 791
The Shell Referencep. 795
The HOWTOp. 807
The ASCII Character Setp. 815
Glossaryp. 819
Solutions to Self-Test Questionsp. 843
Bibliographyp. 857
vi Indexp. 861
emacs Indexp. 865
Commands and Key Termsp. 869
C Shellp. 871
Korn Shellp. 873
bashp. 875
Comprehensive Indexp. 877
Table of Contents provided by Syndetics. All Rights Reserved.