did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780596001957

Learning the Korn Shell

by
  • ISBN13:

    9780596001957

  • ISBN10:

    0596001959

  • Edition: 2nd
  • Format: Paperback
  • Copyright: 2002-04-01
  • Publisher: Oreilly & Associates Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99 Save up to $1.75
  • Buy New
    $38.79
    Add to Cart Free Shipping Icon Free Shipping

    USUALLY SHIPS IN 2-3 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

The Korn shell is an interactive command and scripting language for accessing Unixreg; and other computer systems. As a complete and high-level programming language in itself, it's been a favorite since it was developed in the mid 1980s by David G. Korn at AT&T Bell Laboratories. Knowing how to use it is an essential skill for serious Unix users.Learning the Korn Shellshows you how to use the Korn shell as a user interface and as a programming environment.Writing applications is often easier and quicker with Korn than with other high-level languages. Because of this, the Korn shell is the most often used shell in commercial environments and among inexperienced users. There are two other widely used shells, the Bourne shell and the C shell. The Korn shell, orksh, has the best features of both, plus many new features of its own.kshcan do much to enhance productivity and the quality of a user's work, both in interacting with the system, and in programming. The new version,ksh93, has the functionality of other scripting languages such as awk, icon, Perl, rexx, and tcl.Learning the Korn Shellis the key to gaining control of the Korn shell and becoming adept at using it as an interactive command and scripting language. Prior programming experience is not required in order to understand the chapters on basic shell programming. Readers will learn how to write many applications more easily and quickly than with other high-level languages. In addition, readers will also learn about Unix utilities and the way the Unix operating system works in general. The authors maintain that you shouldn't have to be an internals expert to use and program the shell effectively.The second edition covers all the features of the current version of the Korn shell, including many new features not in earlier versions of ksh93, making it the most up-to-date reference available on the Korn shell. It compares the current version of the Korn shell to several other Bourne-compatible shells, including several Unix emulation environments for MS-DOS and Windows. In addition, it describes how to download and build ksh93 from source code.A solid offering for many years, this newly revised title inherits a long tradition of trust among computer professionals who want to learn or refine an essential skill.

Author Biography

Arnold Robbins, an Atlanta native, is a professional programmer and technical author. He has worked with Unix systems since 1980, when he was introduced to a PDP-11 running a version of Sixth Edition Unix. He has been a heavy AWK user since 1987, when he became involved with gawk, the GNU project's version of AWK. As a member of the POSIX 1003.2 balloting group, he helped shape the POSIX standard for AWK. He is currently the maintainer of gawk and its documentation. He is also coauthor of the sixth edition of O'Reilly's Learning the vi Editor. Since late 1997, he and his family have been living happily in Israel.

Table of Contents

Prefacep. viii
Korn Shell Basicsp. 1
What Is a Shell?p. 2
Scope of This Bookp. 2
History of Unix Shellsp. 3
Getting the 1993 Korn Shellp. 5
Interactive Shell Usep. 7
Filesp. 8
Input and Outputp. 18
Background Jobsp. 22
Special Characters and Quotingp. 25
Command-Line Editingp. 33
Enabling Command-Line Editingp. 34
The History Filep. 35
Emacs Editing Modep. 36
Vi Editing Modep. 47
The hist Commandp. 60
Finger Habitsp. 63
Customizing Your Environmentp. 65
The .profile Filep. 66
Aliasesp. 68
Optionsp. 71
Shell Variablesp. 73
Customization and Subprocessesp. 86
Customization Hintsp. 90
Basic Shell Programmingp. 91
Shell Scripts and Functionsp. 91
Shell Variablesp. 99
Compound Variablesp. 105
Indirect Variable References (namerefs)p. 107
String Operatorsp. 108
Command Substitutionp. 127
Advanced Examples: pushd and popdp. 131
Flow Controlp. 135
if/elsep. 136
forp. 154
casep. 160
selectp. 164
while and untilp. 167
Command-Line Options and Typed Variablesp. 172
Command-Line Optionsp. 172
Numeric Variables and Arithmeticp. 183
Arithmetic forp. 193
Arraysp. 194
typesetp. 200
Input/Output and Command-Line Processingp. 209
I/O Redirectorsp. 209
String I/Op. 218
Command-Line Processingp. 236
Process Handlingp. 257
Process IDs and Job Numbersp. 258
Job Controlp. 259
Signalsp. 263
trapp. 270
Coroutinesp. 278
Shell Subprocesses and Subshellsp. 286
Debugging Shell Programsp. 290
Basic Debugging Aidsp. 291
A Korn Shell Debuggerp. 300
Korn Shell Administrationp. 321
Installing the Korn Shell as the Standard Shellp. 321
Environment Customizationp. 323
Customizing the Editing Modesp. 327
System Security Featuresp. 329
Related Shellsp. 337
Reference Informationp. 366
Building ksh from Source Codep. 386
AT&T ast Source Code License Agreementp. 390
Indexp. 397
Table of Contents provided by Syndetics. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program