Programming Books C Java PHP Python Learn more Browse Programming Books
Learning the bash Shell: Unix Shell Programming (In a Nut... and thousands of other textbooks are available for instant download on your Kindle Fire tablet or on the free Kindle apps for iPad, Android tablets, PC or Mac.
Buy New
$24.86
Qty:1
  • List Price: $34.95
  • Save: $10.09 (29%)
FREE Shipping on orders over $35.
In Stock.
Ships from and sold by Amazon.com.
Gift-wrap available.
Learning the bash Shell: ... has been added to your Cart
Sell yours for a Gift Card
We'll buy it for $4.88
Learn More
Trade in now
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly)) Paperback – April 5, 2005

ISBN-13: 978-0596009656 ISBN-10: 0596009658 Edition: Third Edition

Buy New
Price: $24.86
40 New from $19.00 37 Used from $11.88
Rent from Amazon Price New from Used from
Kindle
"Please retry"
$7.45
Paperback
"Please retry"
$24.86
$19.00 $11.88
Unknown Binding
"Please retry"
Free Two-Day Shipping for College Students with Amazon Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


Spring Books
The Big Books of Spring
See our editors' picks for the books you'll want to read this season, from blockbusters and biographies to new fiction and children's books.
$24.86 FREE Shipping on orders over $35. In Stock. Ships from and sold by Amazon.com. Gift-wrap available.

Frequently Bought Together

Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly)) + bash Cookbook: Solutions and Examples for bash Users (Cookbooks (O'Reilly)) + Classic Shell Scripting
Price for all three: $84.33

Buy the selected items together
NO_CONTENT_IN_FEATURE
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Product Details

  • Series: In a Nutshell (O'Reilly)
  • Paperback: 354 pages
  • Publisher: O'Reilly Media; Third Edition edition (April 5, 2005)
  • Language: English
  • ISBN-10: 0596009658
  • ISBN-13: 978-0596009656
  • Product Dimensions: 7 x 0.9 x 9.2 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (38 customer reviews)
  • Amazon Best Sellers Rank: #51,420 in Books (See Top 100 in Books)

Editorial Reviews

About the Author

Cameron Newham lives in Perth, Western Australia. After completing a Bachelor of Science majoring in information technology and geography at the University of Western Australia, Cameron joined Universal Defence Systems (later to become Australian Defence Industries) as a software engineer. He has been with ADI for six years, working on various aspects of command and control systems. In his spare time Cameron can be found surfing the Internet, ballroom dancing, or driving his sports car. He also has more than a passing interest in space science, 3D graphics, synthesiser music, and Depeche Mode.

Customer Reviews

Easy to understand, decent amount of examples.
Meg
I constantly use this book to reference topics - highly recommended for anyone looking to use the bash scripting language in Linux/OS X.
Brandon Smith
I am a beginner of Bash; this book really helped me to start writing shell script.
Alexander Ethier

Most Helpful Customer Reviews

39 of 41 people found the following review helpful By wiredweird HALL OF FAMETOP 1000 REVIEWER on October 24, 2006
Format: Paperback 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
2 Comments 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
13 of 15 people found the following review helpful By Ian Belcher on February 10, 2012
Format: Paperback
I have been using UNIX for a few years, nothing too in depth, but I can get around. I recently went through the book Learning the UNIX Operating System, Fifth Edition without any trouble and then moved onto the book in question. Starting with the third chapter I felt completely lost and had no idea what the heck the author was talking about. The examples are vague and unhelpful. I kept reading, however, and into the fourth chapter the confusion persisted. Perhaps if the author decided to include some hands-on examples and/or exercises I might understand the concepts better.

I could see this being a worthwhile book if you know how to program already, but if you are just familiar with UNIX navigation, commands, (ie. anything in the Learning the UNIX Operating System, Fifth Edition book) then you might be out of luck.
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
Format: Paperback
Cameron Newham's LEARNING THE BASH SHELL is an introduction to the command-line interface most commonly encountered today in server administration and in the terminal application of personal computers running Linux and Mac OS X. As I write this, the most recent edition is the 3rd, published in 2005, which describes bash 3.0. Newham explains such things as how programs communicate with the shell, keyboard navigation commands and shell customization. While he uses some of the old standard Unix programs (e.g. grep, sort) in examples, this is not a book about how to wield the power of Unix-like systems in general. Also, shell scripting is given only a brief mention, and those wanting to write powerful scripts will have to turn to another book (like O'Reilly's Classic Shell Scripting.

I have been using bash for nearly all file management and system administration tasks since 2002, and I still learned a few things here. However, this book is sorely in need of a new edition. The 3rd edition still assumes that the typical newcomer to bash is on a multi-user UNIX system, has access to a Postscript printer from the command line and a magnetic tape drive, and has probably used another shell like tcsh. Surely, even by the 3rd edition's publication date of 2005, most people interested in bash were people who had installed Linux on their personal computers. Also, bash is now at version 4.0, and readers would benefit from a small presentation of what has changed.
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
2 of 2 people found the following review helpful By Adam J Miller on January 21, 2014
Format: Kindle Edition Verified Purchase
This book earnestly changed the way I look at my shell, I recommend it to anyone who's not a bash shell veteran. This book is very well written and is paced in such a way that the vast topic of the bash shell can be consumed, understood, and put to use. Highly recommended.
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
2 of 2 people found the following review helpful By Amazon Customer on December 14, 2013
Format: Kindle Edition Verified Purchase
I work in so many languages I am ways forgetting syntax and BASH's syntax is a bit unusual. So this book is a reference text for me.
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
3 of 4 people found the following review helpful By Jay Link on June 14, 2008
Format: Paperback
I first bought this book over 12 years ago, and I still use it as the standard by which other books are measured. It must be one of my top 5 favorite computer books, ever.

The author clearly understands the material, and makes it approachable, direct, and easy to learn without being too light or condescending. I wish the same could be said of Java books.

"Learning the bash Shell" is the right size and right price, too. Perfect in every way.

O'Reilly kind of took a turn for the worse in the late '90s / early 2000s, but this was originally published back when they were good the first time. (They've since recovered, IMO)

If you have need to learn the bash shell, you can't go wrong with 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

What Other Items Do Customers Buy After Viewing This Item?

Set up an Amazon Giveaway

Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more
Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly))
This item: Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly))
Price: $34.95 $24.86
Ships from and sold by Amazon.com