Vous voulez voir cette page en français ? Cliquez ici.

Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

UNIX Shells by Example [Paperback]

Ellie Quigley
4.1 out of 5 stars  See all reviews (13 customer reviews)

Available from these sellers.


Formats

Amazon Price New from Used from
Paperback CDN $39.68  
Paperback, Oct 24 2001 --  
There is a newer edition of this item:
UNIX Shells by Example (4th Edition) UNIX Shells by Example (4th Edition) 4.1 out of 5 stars (13)
CDN$ 39.68
Usually ships in 2 to 4 weeks

Book Description

Oct 24 2001 013066538X 978-0130665386 3
Learn shell programming hands-on, with the new Third Edition of the worlds #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 Quigleys 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 Valleys top UNIX and Linux instructor, Ellie Quigley. Starting with the basics, Quigley gets you all the way to expert-level techniques. Along the way, youll learn what UNIX shells are, what they do, and how they integrate with other UNIX utilities and processes. Youll 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.
Ellie Quigley is author of Linux Shells by Example, Perl by Example, Third Edition, The Complete Perl Training Course and The Complete Linux Shell Programming Training Course. Her courses in Perl and UNIX shell programming at the U.C. Santa Cruz Extension Program have become legendary throughout Silicon Valley.

Customers Who Bought This Item Also Bought


Product Details


Product Description

From the Publisher

The best-selling Unix Shells by Example continues to be the only book you need to learn Unix shell programming. Unix Shells by Example, Third Edition adds thorough coverage of the new bash and tcsh shells to the full explanations in Quigley's famous treatment of the C, Bourne, and Korn shells and the awk, sed, and grep utilities, making this the most complete Unix shell programming book available anywhere.

Using proven techniques drawn from her acclaimed Silicon Valley Unix classes, Quigley transforms you into an expert-level shell programmer. You'll learn what the shells are, what they do, and how to program them, as well as how and when to use awk, sed, and grep. Code examples, completely revised and classroom-tested for this edition, explain concepts first-hand and can serve as the basis for your own projects.

From the Inside Flap

Playing the "shell" game is a lot of fun. This book was written to make your learning experience both fun and profitable. Since the first edition was published, many of you who have been helped by my book have contacted me, telling me that the book made you realize that shell programming doesn't need to be difficult at all! Learning by example makes it easy and fun. In fact, because of such positive feedback, I have been asked by Prentice Hall to produce this fourth edition of UNIX(R) Shells by Example for UNIX and Linux users, programmers, and administrators. Along with updated material throughout, it includes three completely new chapters, with full coverage of the GNU tools for those of you who use Linux. With the meteoric rise of Linux popularity, it seemed like a good time to combine the best of Linux Shells by Example with UNIX(R) Shells by Example and produce a single volume that touches on all the various aspects of the UNIX/Linux shell world.

The new chapters include Chapter 2, "Shell Programming QuickStart," an introductory jump-start for programmers who want a quick survey of the shell programming constructs and how they differ; Chapter 15, "Debugging Shell Scripts," which gives you an example of an error message, what caused it, and how to fix it; and Chapter 16, "The System Administrator and the Shell," which demonstrates how the shell is used by system administrators, from system boot-up to shutdown.

Writing UNIX(R) Shells by Example was the culmination of 21 years of teaching and developing classes for the various shells and UNIX/Linux utilities most heavily used by shell programmers. The course notes I developed have been used by the University of California, Santa Cruz; the University of California, Davis; Sun Microsystems; Apple Computer; Xilinx; National Semiconductor; LSI Logic; De Anza College; and numerous vendors throughout the world. Depending upon the requirements of my client, I normally teach one shell at a time rather than all of them at once. To accommodate the needs of so many clients, I developed separate materials for each of the respective UNIX/Linux shells and tools.

Whether I am teaching "Grep, Sed, and Awk," "Bourne Shell for the System Administrator," "The Interactive Korn Shell," or "Bash Programming," one student always asks, "What book can I get that covers all the shells and the important utilities such as grep, sed, and awk? How does awk differ from gawk? Will this work if I'm using Linux or is this just for Solaris? Should I get the awk book, or should I get a book on grep and sed? Is there one book that really covers it all? I don't want to buy three or four books in order to become a shell programmer."

In response, I could recommend a number of excellent books covering these topics separately, and some UNIX and Linux books that attempt to do it all, but the students want one book with everything, and not just a quick survey. They want the tools, regular expressions, all the major shells, quoting rules, a comparison of the shells, exercises, and so forth, all in one book. This is that book.

As I wrote it, I thought about how I teach the classes and organized the chapters in the same format. In the shell programming classes, the first topic is always an introduction to what the shell is and how it works. Then we talk about the utilities such as grep, sed, and awk--the most important tools in the shell programmer's toolbox. When learning about the shell, it is presented first as an interactive program where everything can be accomplished at the command line, and then as a programming language where the programming constructs are described and demonstrated in shell scripts. (Since the C and TC shells are almost identical as programming languages, there are separate chapters describing interactive use, but only one chapter discussing programming constructs.)

It's one thing to write a script, but yet another to debug it. I have been working with the shells for so long, that I can recognize bugs in a program almost before they happen! But these bugs are hard to find until you get used to the error messages and what they mean. I added a chapter on debugging to help you understand what the often cryptic error messages mean and how to fix them. Since the diagnostics for the shells may differ, each shell is presented with the most common error messages and what caused them.

Many students take a shell course as a step toward learning system administration. Susan Barr, a teaching colleague of mine who teaches system administration and shell programming, offered to share her extensive knowledge and write a chapter to describe how the system administrator uses the shell (Chapter 16, "The System Administrator and the Shell").

Having always found that simple examples are easier for quick comprehension, each concept is captured in a small example followed by the output and an explanation of each line of the program. This method has proven to be very popular with those who learned Perl programming from my first book, Perl by Example, or JavaScript from JavaScript(TM) by Example, and with those who learned to write shell programs from UNIX(R) Shells by Example.

Another aid to comprehension is that the five shells are discussed in parallel. If, for example, you're working in one shell but want to see how redirection is performed in another shell, you will find a parallel discussion of that topic presented in each of the other shell chapters.

It can be a nuisance to shuffle among several books or the man pages when all you want is enough information about a particular command to jog your memory on how a particular command works. To save you time, Appendix A contains a list of useful UNIX and Linux commands, their syntax, and definitions. Examples and explanations are provided for the more robust and often-used commands.The comparison table in Appendix B will help you keep the different shells straight, especially when you port scripts from one shell to another, and serves as a quick syntax check when all you need is a reminder of how the construct works.

I think you'll find this book a valuable tutorial and reference. The objective is to explain through example and keep things simple so that you have fun learning and save time. Since the book replicates what I say in my classes, I am confident that you will be a productive shell programmer in a short amount of time. Everything you need is right here at your fingertips. Playing the shell game is fun . . . You'll see!



013147572XP08312004 --This text refers to an alternate Paperback edition.

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

Most helpful customer reviews
4.0 out of 5 stars Great Intro to Unix/Linux Shells April 19 2010
By Mikey D
Format:Paperback
I was required to get this book as a class text, and it has been the most useful book I bought this semester. And like my programming book, I hope will be useful in upcoming classes.

It starts with the histroy of Unix and Linux, and the various shells that have been developped and inlcuded with popular distributions.

Starting basic commands, it moves onto bigger tools; Sed, Grep, and Awk. Then chapters devoted to all the major shells: Bourne, C, TC, Korn, and Bash. It has seperate chapters for ach shell, along with a chapter devoted to programming in each shell.

It clear descriptions, plenty of examples and excercises, covering the most utilities. Also has notes covering the differences (if any exist) that appear in GNU versions of each tool.

A great purchase if you want understand Unix/Linux Shell programming.
Was this review helpful to you?
5.0 out of 5 stars Absolutely Necessary Mar 17 2004
Format:Paperback
I cannot imagine anyone tryng to learn UNIX shell scripting without this book. I've used this book countless times to teach shell scripting to programmers and neophytes alike. Plenty of books provide shell script examples, but none give such thorough, line-by-line explanations of what the examples are doing.
Was this review helpful to you?
By A Customer
Format:Paperback
I have been working with shells since about 5 years, and besides the "man" pages, this book has been the only one I ever used when writing shell scripts.

I rarely comment on books, but I really felt this one needs my appreciation.

The highlights of this book in my opinion are:
- a large and very well index--it really helps you finding your answer quickly
- very good introduction to shells and environments
- very good introduction to regular expressions
- very good introductions to the very important utilities grep, sed, and awk
- detailed sections with many examples for interactive usage of shells as well as programming shell scripts

For many people the sections on the c shell, korn shell and TC shell may seem unnecessary, since (I assume) the majority is using the bash shell. However, some things in those sections apply to the bash shell as well, and besides that one never knows which shell one has to work with one day--so by having it all in one book, you should be set.

Last but not least I would like to add that there is no need for reading this book from start to finish, you can just jumpt right into any section, as I have always done ;)

Get this book if you want a great all-round book on shells, and should you still get stuck, type "man ..."

Was this review helpful to you?
Want to see more reviews on this item?
Most recent customer reviews
5.0 out of 5 stars Excellente!!! Great book!!!
I would recommend this book to each and every individual who is planning to learn Shell Scripting, AWK, GREP and SED. This is the book for learning these tools. Read more
Published on July 23 2003 by firebird
5.0 out of 5 stars thorough treatment from the beginning
I've looked at a lot of books about UNIX as a beginner in shell programming, and have found none so helpful as this one. Clear, thorough, well written; useful appendices.
Published on April 9 2003 by LangMat
5.0 out of 5 stars Very Helpful
I just got the third exition this book, it is extremely helpful. There aren't many examples of shell scripts on the web and none on the system man pages so it's a wonderfull... Read more
Published on Mar 6 2003
5.0 out of 5 stars Excellent
I have the second edition. I've used the book to teach classes, and it has been an excellent tool.
Published on Feb 25 2003
5.0 out of 5 stars Great reference, but with some errors
This book is awesome. I am a command-line Unix geek by trade, but hadn't written a line of programming of any kind since BASIC in high school. Read more
Published on Feb 10 2003 by M. Leon
2.0 out of 5 stars Frustrating to find what you're looking for.
The index is way out of sync with the actual pages. Just try finding the rm command on page 620 as the index says it's located. Read more
Published on Jan 3 2003
1.0 out of 5 stars Layout seems improved but...
This is one of the books that I wish I did not buy. I bought the first edition, and it was full of errors and omissions. Read more
Published on Oct 6 2002 by dczhu
5.0 out of 5 stars Easy to understand
This shell script book has a lot of examples to introduce the new commands. Therefore, you can master the commands promptly. Read more
Published on Oct 4 2002 by Matthew
1.0 out of 5 stars Highly Overrated. Full of Errors and Confusing.
This book was a brilliant concept with a horrible execution. It is filled with typographical and substantive errors. Read more
Published on Oct 2 2002
5.0 out of 5 stars Must be on your bookshelf and a MUST read.
I was actually looking for a postgresql book, when I spotted this one. I have only recently had the need to get heavily into Unix and Linux scripting, and have had my eye out... Read more
Published on Jan 27 2002 by W. J. Vovil
Search Customer Reviews
Only search this product's reviews

Listmania!

Create a Listmania! list

Look for similar items by category


Feedback