UNIX Shells by Example

UNIX Shells by Example

3.9 (44 ratings by Goodreads)
By (author) 

List price: US$53.50

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


Learn shell programming hands-on, with the new Third Edition of the world's #1 UNIX shells tutorial and reference!-- Comprehensive coverage of all five leading UNIX shells -- including extensive new coverage of bash and tcsh!-- Teaches by examples proven in Ellie Quigley's legendary Silicon Valley shell programming courses!-- CD-ROM contains all source code and data files used in the book -- an extraordinary resource for every UNIX shell programmer.UNIX Shells by Example, Third Edition is your complete, step-by-step guide to all five essential UNIX shells -- bash, tcsh, C, Bourne, and Korn -- and all three essential UNIX shell programming utilities, awk, sed and grep. This new Third Edition is better than ever, with hundreds of completely updated, classroom-proven examples from Silicon Valley's top UNIX and Linux instructor, Ellie Quigley. Starting with the basics, Quigley gets you all the way to expert-level techniques. Along the way, you'll learn what UNIX shells are, what they do, and how they integrate with other UNIX utilities and processes. You'll master creating, running, and debugging shell scripts; using grep, egrep and ggrep; working with sed, and much more. This edition contains extensive new coverage of bash and tcsh, as well as hundreds of updated and classroom-tested examples for all five leading shells. It contains hands-on exercises for every topic, an appendix with detailed syntax listings, comparison charts, and much more. For all UNIX system administrators, application developers, and power users.
show more

Product details

  • Mixed media product | 1040 pages
  • 178.3 x 234.4 x 38.4mm | 1,451.51g
  • Prentice Hall
  • Upper Saddle River, United States
  • English
  • 3rd edition
  • 013066538X
  • 9780130665386

Table of contents


1. Introduction to UNIX Shells.

Definition and Function. System Startup and the Login Shell. Processes and the Shell. The Environment and Inheritance. Executing Commands from Scripts.

2. The UNIX Toolbox.

Regular Expressions. Combining Regular Expression Metacharacters.

3. The grep Family.

The grep Command. grep Examples with Regular Expressions. grep with Pipes. grep with Options. egrep (Extended grep). Fixed grep or Fast grep.

4. sed, the Streamlined Editor.

What Is sed? How Does sed Work? Addressing. Commands and Options. Error Messages and Exit Status. sed Examples. sed Scripting.

5. The awk Utility: awk as a UNIX Tool.

What Is awk? awk's Format. Formatting Output. awk Commands from Within a File. Records and Fields. Patterns and Actions. Regular Expressions. awk Commands in a Script File. Review.

6. The awk Utility: awk Programming Constructs.

Comparison Expressions. Review.

7. The awk Utility: awk Programming.

Variables. Redirection and Pipes. Pipes. Closing Files and Pipes. Review. Conditional Statements. Loops. Program Control Statements. Arrays. awk Built-In Functions. Built-In Arithmetic Functions. User-Defined Functions (nawk). Review. Odds and Ends. Review.

8. The Interactive Bourne Shell.

Startup. Programming with the Bourne Shell.

9. The C Shell.

The Interactive C Shell. Programming with the C Shell.

10. The Korn Shell.

Interactive Korn Shell. Programming with the Korn Shell.

11. The Interactive bash Shell.

Introduction. Command Line Shortcuts. Variables.

12. Programming with the bash Shell.

Introduction. Reading User Input. Arithmetic. Positional Parameters and Command Line Arguments. Conditional Constructs and Flow Control. Looping Commands. Functions. Trapping Signals. Debugging. Processing Command Line Options with getopts. The eval Command and Parsing the Command Line. bash Options. Shell Built-In Commands.

13. The Interactive TC Shell.

Introduction. The TC Shell Environment. Command Line Shortcuts. Job Control. Metacharacters. Redirection and Pipes. Variables. Arrays. Special Variables and Modifiers. Command Substitution. Quoting. Built-In Commands.

Appendix A: Useful UNIX Utilities for Shell Programmers.

Appendix B: Comparison of the Shells.

Appendix C: Steps for Using Quoting Correctly.

show more

About Ellie Quigley

ELLIE QUIGLEY is author of Linux Shells by Example, Perl by Example, The Complete Perl Training Course, and The Complete Linux Shell Programming Training Course and creator of the world's #1 interactive Perl course, Perl Multimedia Classroom. A leading instructor and trainer, her courses in Perl and UNIX shell programming at the University of California Santa Cruz Extension Program and at Sun Microsystems have become legendary throughout Silicon Valley.
show more

Rating details

44 ratings
3.9 out of 5 stars
5 34% (15)
4 27% (12)
3 36% (16)
2 0% (0)
1 2% (1)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X