Learning the bash Shell and over one million other books are available for Amazon Kindle. Learn more

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


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Start reading Learning the bash Shell on your Kindle in under a minute.

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

Learning the bash Shell: Unix Shell Programming [Paperback]

Cameron Newham
4.0 out of 5 stars  See all reviews (20 customer reviews)
List Price: CDN$ 48.95
Price: CDN$ 23.16 & eligible for FREE Super Saver Shipping on orders over CDN$ 25. Details
You Save: CDN$ 25.79 (53%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 3 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Tuesday, May 28? Choose One-Day Shipping at checkout.

Formats

Amazon Price New from Used from
Kindle Edition CDN $15.82  
Paperback CDN $23.16  

Book Description

April 5 2005 0596009658 978-0596009656 Third Edition

O'Reilly's bestselling book on Linux's bash shell is at it again. Now that Linux is an established player both as a server and on the desktop Learning the bash Shell has been updated and refreshed to account for all the latest changes. Indeed, this third edition serves as the most valuable guide yet to the bash shell.

As any good programmer knows, the first thing users of the Linux operating system come face to face with is the shell the UNIX term for a user interface to the system. In other words, it's what lets you communicate with the computer via the keyboard and display. Mastering the bash shell might sound fairly simple but it isn't. In truth, there are many complexities that need careful explanation, which is just what Learning the bash Shell provides.

If you are new to shell programming, the book provides an excellent introduction, covering everything from the most basic to the most advanced features. And if you've been writing shell scripts for years, it offers a great way to find out what the new shell offers. Learning the bash Shell is also full of practical examples of shell commands and programs that will make everyday use of Linux that much easier. With this book, programmers will 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

Frequently Bought Together

Learning the bash Shell: Unix Shell Programming + sed & awk + Learning the vi and Vim Editors
Price For All Three: CDN$ 71.50

Some of these items ship sooner than the others. Show details

  • In Stock.
    Ships from and sold by Amazon.ca.
    Eligible for FREE Super Saver Shipping on orders over CDN$ 25. Details

  • sed & awk CDN$ 26.30

    In Stock.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details

  • Learning the vi and Vim Editors CDN$ 22.04

    Usually ships within 7 to 11 days.
    Ships from and sold by Amazon.ca.
    Eligible for FREE Super Saver Shipping on orders over CDN$ 25. Details


Customers Who Bought This Item Also Bought


Product Details


Product Description

Review

Learning the bash Shell" has kept a place no further than arms-length from my computer. No other technical book can say the same. -- Meg Golding, linuxchix.org, May 2002 --This text refers to an out of print or unavailable edition of this title.

From the Publisher

This second edition covers all of the features of bash Version 2.0, while still applying to bash Version 1.x. It includes one-dimensional arrays, parameter expansion, more pattern-matching operations, new commands, security improvements, additions to ReadLine, improved configuration and installation, and an additional programming aid, the bash shell debugger. --This text refers to an out of print or unavailable edition of this title.

Inside This Book (Learn More)
Explore More
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

4.0 out of 5 stars
4.0 out of 5 stars
Most helpful customer reviews
2 of 2 people found the following review helpful
5.0 out of 5 stars A Sterling Volume from the GNU/Linux Canon Jun 15 2006
Format:Paperback
The GNU/Linux bash shell is a clunky marvel. Novices recoil at first contact; “how do I click my way out of this 70s-era greenscreen abomination?” Casual Linux admins--and I fall into this it-was-set-up-a-year-ago-and-still-works-fine-so-don’t-futz-with-it category--are reasonably adept at piping, redirection, and tab-completion. The full-bore Linux geekorati are only a couple of Emacs meta-ctrl-popbottle keystrokes from involuntary carpal retirement.

Learning the bash Shell is really intended for the second of these groups: the not-everyday Linux enthusiast. The experts will have already glommed every tip and trick, and, despite the disingenuous "Learning" in the title, the book’s too steep a road for folks still struggling to install their first RPM.

O’Reilly is known for its content-dense publications, and this book has a higher fact-per-unit-volume ratio than any other of that publisher’s titles that I could name. Like many a tech trade tome, its chapters should be read as you need them, not straight through from copyright to colophon ("Typeset with ITC Garamond, you say. Fascinating!"). I go ahead and store it right next to the server. A quick peek will tell me everything I need to know, and little I don’t care to learn, about test/[] switches, string substitution operators, special-case environment variables, file descriptor redirection, Emacs control commands, process substitution, and those darned umask settings (each an example of something I use often, yet the details of which I can never recall). And once you’ve got the book open, you’ll find it just leads you further and further down the bash rabbit hole.

In short, this is one of the best tech books I’ve ever encountered, for any OS, for any topic. If you’re of the aforementioned casual Linuxfolk, or transcending your way to the guru plane, you must add it to your library.
Was this review helpful to you?
1 of 1 people found the following review helpful
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.03 for Windows package available on the internet.

Despite these drawbacks, I rate the book four stars on the strengths that it is the only readily-available publication, which is solely devoted to Bash shell use and programming. The O'Reilly publication is definitely worth the investment, if you are looking for a book to get you started on Bash Shell Script programming on a Unix, Linux or Windows (to a limited degree) environment.

Was this review helpful to you?
4.0 out of 5 stars Very good book, but could be better April 7 2004
By A Customer
Format:Paperback
I like this book a lot. It covers all you need to know to fell comfortable with bash shell. However I find the explanation confusing, sometimes I had to read the same paragraph twice to figure out what did the author mean. Also it's not good to use as a reference, since a lot of code depends on previous examples, so one needs to go back to find where this came from. All in all a very good book, didn't see better one, so far.
Was this review helpful to you?
Want to see more reviews on this item?
Most recent customer reviews
4.0 out of 5 stars Good Place to Start
Good starter for those taking their first steps in unix shell scripting. The book is easy to read, with examples that are easy to follow. Read more
Published on July 14 2003
4.0 out of 5 stars Recommend highly!!!
This book is an excellent resource for Linux-literate individuals. I use it to tutor students and adults on Bash shell programming. Read more
Published on Mar 22 2003 by Nick H. No
4.0 out of 5 stars Can't Live Without It
O'Reilly has become the de facto for techie books. They are immensely helpful when you just want to dig your feet in and get hardcore with coding. They make for easy reads. Read more
Published on Sep 3 2002 by J. L. Shipp
4.0 out of 5 stars If you're byuing only one book on BASH, buy this one
A very good introductory BASH book. The different features of BASH are covered in great detail. Beginners will definitely like the in-depth discussion and examples. Read more
Published on Jun 9 2002
5.0 out of 5 stars Good introduction
If you are already using bash, you will probably want to skip parts of the book; nonetheless, it may tell you some shortcuts you missed. Read more
Published on Feb 18 2002
4.0 out of 5 stars Good bus reading
You want to learn Bash, use it, read man pages, whatever. If Bash is the shell you chose, maybe you don't need a book because you can learn what you need at the terminal. Read more
Published on Sep 7 2001 by Noel McKinney
5.0 out of 5 stars Excellent Bash reference
This is a great introduction to the Bash shell.
Highly recommended.
Published on Sep 6 2001 by Lance
4.0 out of 5 stars Good Intro To Bash Use; Lacks Robust Code Examples
This O'Reilly Publication does a good job in filling a void for a good introduction to Bash Shell scripting. Read more
Published on Jun 4 2001 by "scriptcoder"
4.0 out of 5 stars Good Introduction
This book is a good introduction to the Bourne-Again Shell for those absolutely new to it. The book assumes that you already know how to use the basic UNIX utilities, like cat,... Read more
Published on April 16 2001 by "gsibbery"
4.0 out of 5 stars Good intro to Bash
I found this book pretty useful as an intro to Bash, and bash scripting. I found the first three chapters rather useful to configuring Bash, and the following chapters were useful... Read more
Published on Dec 8 2000 by Gerald Ford
Search Customer Reviews
Only search this product's reviews

Listmania!

Create a Listmania! list

Look for similar items by category


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges