38 used & new from $1.74

Have one to sell? Sell yours here
 
 
Learning the bash Shell, 2nd Edition
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

Learning the bash Shell, 2nd Edition (Paperback)

~ Cameron Newham (Author), (Author)
4.1 out of 5 stars  See all reviews (33 customer reviews)


Available from these sellers.


13 new from $11.95 25 used from $1.74

Formats

Amazon Price New from Used from
  Paperback $23.07 $20.66 $16.76
  Paperback, January 2, 1998 -- $11.95 $1.74
There is a newer edition of this item:
Learning the bash Shell (In a Nutshell (O'Reilly)) Learning the bash Shell (In a Nutshell (O'Reilly)) 4.1 out of 5 stars (33)
$23.07
In Stock.
What Do Customers Ultimately Buy After Viewing This Item?

Customers Who Bought This Item Also Bought

Bash Cookbook: Solutions and Examples for Bash Users (Cookbooks (O'Reilly))

Bash Cookbook: Solutions and Examples for Bash Users (Cookbooks (O'Reilly))

by Carl Albing
4.6 out of 5 stars (12)  $31.49
sed & awk (2nd Edition)

sed & awk (2nd Edition)

by Arnold Robbins
4.3 out of 5 stars (40)  $23.07
Learning the vi and Vim Editors

Learning the vi and Vim Editors

by Arnold Robbins
5.0 out of 5 stars (6)  $23.09
Classic Shell Scripting

Classic Shell Scripting

by Arnold Robbins
4.6 out of 5 stars (10)  $17.96
VI Editor Pocket Reference

VI Editor Pocket Reference

by Arnold Robbins
3.9 out of 5 stars (17)  $9.95
Explore similar items

Editorial Reviews

Product Description

bash, the Free Software Foundation's "Bourne Again Shell," is the default shell for Linux, as well as a replacement for the standard UNIX Bourne shell. If you are new to shell programming, Learning the bash Shell is an excellent introduction, covering everything from the most basic to the most advanced features. If you've been writing shell scripts for years, it offers a great way to find out what the bash shell offers. This second edition covers all of the features of bash Version 2.0, while still applying to bash Version 1.x. New features include one-dimensional arrays, parameter expansion, and more pattern-matching operations. In addition, bash 2.0 is POSIX.2 conformant. This updated edition covers new commands, security improvements, additions to ReadLine, improved configuration and installation, and an additional programming aid, the bash shell debugger. Whether you want to use bash for its programming features or its user interface, you will find Learning the bash Shell, 2nd Edition a valuable guide.


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.

Product Details

  • Paperback: 334 pages
  • Publisher: O'Reilly Media; 2nd edition (January 2, 1998)
  • Language: English
  • ISBN-10: 1565923472
  • ISBN-13: 978-1565923478
  • Product Dimensions: 9.2 x 7 x 0.8 inches
  • Shipping Weight: 1.2 pounds
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (33 customer reviews)
  • Amazon.com Sales Rank: #416,261 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #22 in  Books > Computers & Internet > Operating Systems > Unix > Shell

More About the Authors

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

Look Inside This Book
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(7)
(4)
(1)
(1)

Your tags: Add your first tag
 

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

33 Reviews
5 star:
 (10)
4 star:
 (19)
3 star:    (0)
2 star:
 (4)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.1 out of 5 stars (33 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
50 of 50 people found the following review helpful:
4.0 out of 5 stars Good Intro To Bash Use; Lacks Robust Code Examples, June 3, 2001
By "scriptcoder" (Chino, CA United States) - See all my reviews
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.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
28 of 30 people found the following review helpful:
2.0 out of 5 stars Lacking examples, September 3, 1999
By A Customer
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 Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
14 of 14 people found the following review helpful:
4.0 out of 5 stars Strong, gently-paced intro, October 24, 2006
By wiredweird "wiredweird" (Earth, or somewhere nearby) - See all my reviews
(TOP 100 REVIEWER)   
Amazon Verified Purchase(What's this?)
The bash shell is now the most common and featureful command shell in the Unix world. It's full capability certainly isn't obvious to a beginner facing a command prompt, but is well worth exploring. This book is a great place for the novice to start. The first chapter addresses the most fundamental question: just what is a command shell?

The ideal reader already knows at least the names of the emacs and vi editors. That much helps understand the many features and two distinct feature sets available for command line editing. I consider fancy command line editing over-rated for fluent typists, but it's there in the second chapter for all who want it and anyone can benefit from at least a little knowledge of it. After that successive chapters pull the reader deeper into the bash feature set: aliases and shell variables, scripting and shell programming, and debugging when the shell programs or functions go awry.

Since this book is aimed at the novice, Newham and Rosenblatt skip lightly over a few of the more advanced subjects. For example, exceptions and trap handling get only cursory treatment, since they get into deep weirdness very fast. The authors are honest about this shallow treatment, though, and give enough information for a novice to recognize the basics and look them up in more advanced references.

This is nicely organized for the self-taught student. As a result, it's not laid out as a programmer's reference manual - anyone who wants that kind of reference just isn't looking at the right book. For its intended reader, though, it's a great book. It gets readers off to a fast start, and lets them decide just how much they want to bite off at a time. I recommned it very highly.

//wiredweird
Comment Comments (2) | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Very nice introduction to the bash shell
It feels so anachronistic to be learning the bash shell in 2009, but I want to broaden my understanding of Linux and bash is a component part. Read more
Published 4 months ago by Jerry Saperstein

4.0 out of 5 stars So much good here
There's a lot to love about this book, the way it helps the reader / programmer navigate the differences in the the different shell scripting settings. Read more
Published 5 months ago by Jack E. Stoudenmire Jr.

4.0 out of 5 stars Very useful
This book provided a solid resource to start writing shell scripts in bash. It is well written, and also provides understanding into some bash features that go beyond just a... Read more
Published 16 months ago by Roderick M. Lisam

5.0 out of 5 stars Outstanding in every way
I first bought this book over 12 years ago, and I still use it as the standard by which other books are measured. Read more
Published 17 months ago by Jay Link

5.0 out of 5 stars Exelent Book!!
shipping fast!! =D nice comunication and information :D
sorry for later review:)
-]Raul[-
Published 19 months ago by Raul E. Gracia

4.0 out of 5 stars Great book
I have owned this book for awhile, and over the years it has been my only reference to the bash shell I have felt a need for. Read more
Published 21 months ago by W. Robinson

5.0 out of 5 stars It's a book on shell scripting
More than you ever wanted to learn about the bash shell. Good reference for sysadmins.
Published 23 months ago by Mr Obvious

2.0 out of 5 stars Mediocre material lacking truly useful examples
This book has many drawbacks: its structure is deficient, the division of the material is sometimes outright confusing, the content lacks rigor and clarity, the examples are badly... Read more
Published on June 6, 2007 by FILIP Marius

4.0 out of 5 stars Good chapter on debugging.
Good chapter on debugging. Good overview of the Bash shell, but I wish it had more examples. For a book with lots of examples, you might want to consider "Bash Shell: Essential... Read more
Published on November 16, 2006 by Computer_Geek

4.0 out of 5 stars Good introduction and reference resource
This is a useful introduction to the Bash shell used in unix, linux, and other *nix type operating systems. Read more
Published on October 2, 2005 by M. Helmke

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.



Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.