Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image
Have one to sell? Sell on Amazon

Learning the bash Shell, 2nd Edition Paperback – January 26, 1998

ISBN-13: 063-6920923473 ISBN-10: 1565923472 Edition: 2nd
Buy used
$4.22
Condition: Used - Good Details
Condition: Used: Good
Comment: This item is gently used in good or better condition. If it is a textbook it may not have supplements. It may have some moderate wear and possibly include previous ownerâ€TMs name, some markings and/or is a former library book. We ship within 1 business day and offer no hassle returns. Big Hearted Books shares its profits with schools, churches and non-profit groups throughout New England. Thank you for your support!
Access codes and supplements are not guaranteed with used items.

Used & new from other sellers Delivery options vary per offer
72 used & new from $0.01
Amazon Price New from Used from
Paperback, January 26, 1998
"Please retry"
$6.98 $0.01

There is a newer edition of this item:

Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


Half-Life by Frank Close
Half-Life by Frank Close
Check out the newest book by Frank Close. Learn more | See related books

Editorial Reviews

From the Publisher

The first thing users of the Linux operating system come face to face with is the shell. "Shell" is the UNIX term for a user interface to the system -- something that lets you communicate with the computer via the keyboard and display. Bash, the Free Software Foundation's "Bourne Again Shell," is the default shell for Linux, the popular free UNIX-like operating system. It's also a replacement for the standard UNIX Bourne shell, which serves both as a user interface and as a programming language. Like the FSF's other tools, bash is more than a mere replacement: it extends the Bourne shell in many ways. New features include command line editing, key bindings, integrated programming features, command completion, control structures (especially the select construct, which enables you to create menus easily) and new ways to customize your environment. Whether you want to use bash for its user interface or its programming features you will find Learning the bash Shell a valuable guide. The book covers all of bash's features, both for interactive use and programming. If you are new to shell programming, Learning the bash Shell provides an excellent introduction, covering everything from the most basic to the most advanced features, like signal handling and command line processing. If you've been writing shell scripts for years, it offers a great way to find out what the new shell offers. The book is full of examples of shell commands and programs that are designed to be useful in your everyday life as a user, not just to illustrate the feature being explained. All of these examples are freely available to you online on the Internet. With this book you'll learn: How to install bash as your login shell The basics of interactive shell use, including UNIX file and directory structures, standard I/O, and background jobs Command line editing, history substitution, and key bindings How to customize your shell environment without programming The nuts and bolts of basic shell programming, flow control structures, command-line options and typed variables Process handling, from job control to processes, coroutines and subshells Debugging techniques, such as trace and verbose modes Techniques for implementing system-wide shell customization and features related to system security --This text refers to an out of print or unavailable edition of this title.

From the Back Cover

Learning the bash Shell is the definitive guide to bash, the Free Software Foundation's "Bourne Again Shell". It's a freely available replacement for the popular UNIX Bourne shell. It is also the shell of choice for Linux users around the world. You'll find this guide valuable whether you're interested in bash as a user interface or for its powerful programming capabilities. It will teach you how to use bash's advanced command-line features, like command history, command-line editing, and command completion. Learning the bash Shell also introduces shell programming, a skill no UNIX or Linux user should be without. The book demonstrates what you can do with bash's programming features. You'll learn about flow control, signal handling, and command-line processing and I/O. There is also a chapter on debugging your bash programs. Finally, Learning the bash Shell shows you how to get bash, install it, configure it, and customize it. It also gives advice to system administrators managing bash for their user community.
--This text refers to an out of print or unavailable edition of this title.
NO_CONTENT_IN_FEATURE


Shop the New Digital Design Bookstore
Check out the Digital Design Bookstore, a new hub for photographers, art directors, illustrators, web developers, and other creative individuals to find highly rated and highly relevant career resources. Shop books on web development and graphic design, or check out blog posts by authors and thought-leaders in the design industry. Shop now

Product Details

  • Paperback: 336 pages
  • Publisher: O'Reilly Media; 2nd edition (January 26, 1998)
  • Language: English
  • ISBN-10: 1565923472
  • ISBN-13: 978-1565923478
  • Product Dimensions: 7 x 0.8 x 9.2 inches
  • Shipping Weight: 1.2 pounds
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (27 customer reviews)
  • Amazon Best Sellers Rank: #995,869 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.0 out of 5 stars
Share your thoughts with other customers

Most Helpful Customer Reviews

70 of 71 people found the following review helpful By "scriptcoder" on June 3, 2001
Format: Paperback
This O'Reilly Publication does a good job in filling a void for a good introduction to Bash Shell scripting. Bash has become the shell script programming choice for most Unix and Linux shell programmers, because of its strengths over C shell (Csh) and other Unix-based Shell environments as a fairly robust freeware script programming language.
Strengths of the publication are the clear explanations of the bash shell programming environment, the effective use of tables to summarize basic shell language and programming constructs, UNIX-based utilities, shell environment customization, shell Syntax, Bash File Operators and control key definitions.
A chapter is devoted to edit mode capabilities (both eMacs and Vi Command-Line Editing Commands are covered and summarized effectively in clearly doucmented tables).
The book contains a number of terse script programming tasks, which provide clear examples of the material presented in the text. These program examples are reworked to provide a clear example of how Bash scripts can be modified to provide greater flexibility and reusability of Bash shell program code.
I would like to see more robust programming shell examples in the book as examples of mini-applications, which Bash is frequently used for in many Unix-based or Unix-derived platforms. The "Task 5-1" program example is an example where a good example of a program, which does an adequate job of clearly covering the use of Bash File Operators, yet the author(s) make the statement that the code is "relatively long winded".
Another area the book could address is the use of Bash in a Windows environment. I was able to port some of the programming tasks presented to a Windows 95/98 environment using the GNU Bash Version 2.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
42 of 46 people found the following review helpful By A Customer on September 3, 1999
Format: Paperback
Learning the Bash Shell, should be not be called a learning book. The lack of real world examples really hurt this book. I found Unix Shells by Example a much better learning tool for the Bash Shell. This was surprising, since other learning books by O'Reilly are considerably better than this one.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
26 of 31 people found the following review helpful By A Customer on April 11, 1999
Format: Paperback
This book does provide some help for BASH beginners, but lacks reference material and real world examples of BASH Shell programming. Any programming book SHOULD include real world examples OR complete reference material to be considered quality material. This book does NOT make the grade
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
14 of 16 people found the following review helpful By A Customer on March 3, 1999
Format: Paperback
I just finished this book, and I have to say it was definitely worth the money. The authors do a more than credible job of describing the fundamentals of bash without going too deeply into technical minutiae. Not that they don't present some complex examples! I appreciated the fact that the examples in early chapters were revisited and augmented in later chapters as more complex material was presented. People who prefer thick reference-type compendiums that need not be read in a linear fashion may dislike this, but I found it to be quite helpful.
Particularly illuminating was the image manipulation script they used as an example in several chapters. It really gave me an idea of the power of scripting. Unfortunately, obtaining the source code for the tools the example relied on and compiling them turned out to be a chore; I finally gave up. Still, I had no problem understanding the example even without actually being able to implement it. And there were plenty of other examples that didn't rely on non-standard unix utilities.
If I had to make a single criticism, I'd say that the book could focus a bit more on *interactive* shell use, and why bash is better/worse than other shells in interactive mode. Being a former tcsh user who has developed lots of aliases and programmed completions over time, it would've been helpful to have a section called "Migrating from Csh" or something like that...
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
11 of 12 people found the following review helpful By A Customer on May 1, 2000
Format: Paperback
This book is aimmed at beginners, but goes into enough depth to get you truly on your way. It explanations of commands, and concepts are very clear and concise. Also, I like how the authors initially in the book go over and explain commands several times, as this makes remembering the syntax of commands much simplier (for someone with bad memory, like me).
One criticism is the lack of decent examples, when they are given. All the examples seem to be oversimply or non-real-world, and I feel the authors could make concepts clearer by including more examples.
To sum up, this is not a book for you if you learn by trial-and-error and examples, but if you don't mind the lack of decent examples, then this book is a good unix shell programming book.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
14 of 17 people found the following review helpful By Peter Marklund on April 4, 2000
Format: Paperback
I review the book from a Unix beginners perspective. I havent finished reading the book yet, but I just cant resist sharing my positive feelings about it. It might very well be true that the book lacks real world examples, as the other reviewers point out. But let me balance this criticism by highliting great strengths that the book has (at least for newcomers to Unix like me). Picking up this book, I had very little knowledge of Unix and I had not read any book on shell programming before. I used to be very sceptical about working with shells having grown up with the easiness of use of GUIs like MS Windows. Thanks to this book I am now dying to get my hands on Linux to start using the Bash shell (for now, I am using Cygwin under NT). The book answers all the questions I used to have about Unix as I was programming on the Solaris platform. Because of this book, I am now deeply fascinated by the simplicity and power of Unix! I want to send my sincere gratitude to the authors!
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews