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

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime free trial required. Sign up when you check out. Learn more
Buy Used
Used - Like New See details
Price: £13.16

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
or
Get a £4.00 Amazon.co.uk Gift Card
Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly))
 
 
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 (In a Nutshell (O'Reilly)) [Paperback]

Cameron Newham
3.0 out of 5 stars  See all reviews (2 customer reviews)
RRP: £26.99
Price: £17.54 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £9.45 (35%)
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
In stock.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.
Only 6 left in stock--order soon (more on the way).
Want guaranteed delivery by Friday, June 1? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £12.71  
Paperback £17.54  
Trade In this Item for up to £4.00
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly)) for an Amazon.co.uk gift card of up to £4.00, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.

Frequently Bought Together

Customers buy this book with bash Pocket Reference (Pocket Reference (O'Reilly)) £5.62

Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly)) + bash Pocket Reference (Pocket Reference (O'Reilly))
Price For Both: £23.16

Show availability and delivery details



Product details

  • Paperback: 354 pages
  • Publisher: O'Reilly Media; 3 edition (5 April 2005)
  • Language English
  • ISBN-10: 0596009658
  • ISBN-13: 978-0596009656
  • Product Dimensions: 23.4 x 17.8 x 2.3 cm
  • Average Customer Review: 3.0 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: 34,809 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description

Meg Golding, linuxchix.org, May 2002

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

Rebecca Walter, linuxchix.org

"...."Learning the bash Shell" has kept a place no further than arms-length from my computer. No other technical book can say the same...." --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:

Tags Customers Associate with This Product

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

Your tags: Add your first tag
 


Customer Reviews

5 star
0
3 star
0
1 star
0
Most Helpful Customer Reviews
19 of 23 people found the following review helpful
By A Customer
Format:Paperback
This book provides a useful text on the capabilities of the Bash shell for Linux / Unix. The concept of the Unix shell is very much bigger than just the command prompt that it may resemble if you are a "recovering" DOS user. Understanding of the role and capabilities of the shell is an essential prerequisite for effectively harnessing the power of Linux/ Unix and certainly justifies a book to itself. The Bash shell is a particularly powerful and modern shell program which has the advantage of being freely distributable as part of the GNU project, and as such is probably the most widely used shell program in the Linux world. As such if you have no prior loyalties to another flavour shell - I suggest you learn this one. The book will certainly help you achieve this .
Comment | 
Was this review helpful to you?
46 of 61 people found the following review helpful
For beginners... 5 Jun 2002
Format:Paperback
Traditional shell scripts are horrible. They are not nice languages with orthogonal instruction sets: they have grown organically, and inconsistently. Quotes, double-quotes, and escaped characters are often needed to slip something past one parsing layer to get it to another one.
Chapter one starts off describing what a terminal session actually is, so this is aimed at real beginners.


If you are a beginner, and you are able to chose your scripting language for your job, you might want to look at some of the more recent languages, such as 'python'. They are more regular, and easier to learn and maintain.


Anyway, back to the book. There are things you shouldn't do in a book that may be uses as an introduction and a reference. You should not give examples of code with bugs in, that you explain in the following chapter (ta-daa, aren't I clever?!). You should not give tables of functions or commands unless you list all the commands. If there is an exception to a rule, then you should at least mention it even if you haven't covered that case yet, or, better still, re-arrange the book so the exceptions are explicable. You must resist the urge to surprise the reader: this is shell scripts, and the reader will probably have had their fill of surprises. Last of all, and a personal one this, lay off the Lewis Carroll, please?


You need to be ultra-careful about quotes. When "@" appears in the text, does this mean a string of one character or three? Can you see whether the quotes are in heavy type?


You need to be really careful to distinguish what is 'in' the shell, and what commands and variables are outside it. Pattern matching is a key part of the shell, so regexps ought to be explained in some detail. The simple demo scripts should not have 'ed' and 'sed' commands stuck in without saying where they came from.And why not mention the debug flag before chapter 9?


There are some dubious comments about programming style. Is it really bad to use the 'break' statement in a loop? Is '<command1> && <command2>' really an obscure and unnecessary way of doing command2 if command1 fails? - I find it neat and compact.


This is a pity, because there are some good bits. The flow diagram on p178 and the attendant text about how command lines are processed is good (well, right up to the "-and it's not the whole story!", but you get the idea). But, for completeness, I reckon if there is something I want to look up about the bash shell, I am going to use my old Korn shell book rather than this book.

Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com:  39 reviews
67 of 67 people found the following review helpful
Good Intro To Bash Use; Lacks Robust Code Examples 4 Jun 2001
By "scriptcoder" - Published on Amazon.com
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.

28 of 28 people found the following review helpful
Strong, gently-paced intro 24 Oct 2006
By wiredweird - Published on Amazon.com
Format:Paperback|Amazon Verified Purchase
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
36 of 40 people found the following review helpful
Lacking examples 4 Sep 1999
By A Customer - Published on Amazon.com
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.
Search Customer Reviews
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
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges