Buy new:
-49% $15.13
FREE delivery Saturday, July 20 on orders shipped by Amazon over $35
Ships from: Amazon
Sold by: Flash Trading
$15.13 with 49 percent savings
List Price: $29.95

The List Price is the suggested retail price of a new product as provided by a manufacturer, supplier, or seller. Except for books, Amazon will display a List Price if the product was purchased by customers on Amazon or offered by other retailers at or above the List Price in at least the past 90 days. List prices may not necessarily reflect the product's prevailing market price.
Learn more
Get Fast, Free Shipping with Amazon Prime FREE Returns
FREE delivery Saturday, July 20 on orders shipped by Amazon over $35. Order within 10 hrs 40 mins
Only 1 left in stock - order soon.
$$15.13 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$15.13
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon
Ships from
Amazon
Sold by
Sold by
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
Eligible for Return, Refund or Replacement within 30 days of receipt
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$9.98
Get Fast, Free Shipping with Amazon Prime FREE Returns
This book is in Pre-owned / Good condition. Some minor normal use, cosmetic wear such as scratches, scuffs, blemishes, corner wear, marks, spots or bends on outside cover, book or page edges- see images. Previous owner name marked out on inside back cover- does not hinder readability. Inside pages have no writing or highlighting and minimal page bends found during inspection. Disinfected for your convenience. Prime eligible with easy ordering, delivery and customer service by Amazon. Ready to ship! This book is in Pre-owned / Good condition. Some minor normal use, cosmetic wear such as scratches, scuffs, blemishes, corner wear, marks, spots or bends on outside cover, book or page edges- see images. Previous owner name marked out on inside back cover- does not hinder readability. Inside pages have no writing or highlighting and minimal page bends found during inspection. Disinfected for your convenience. Prime eligible with easy ordering, delivery and customer service by Amazon. Ready to ship! See less
FREE delivery Thursday, July 18 on orders shipped by Amazon over $35. Order within 17 hrs 55 mins
Only 1 left in stock - order soon.
$$15.13 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$15.13
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the authors

Something went wrong. Please try your request again later.

Learning the bash Shell Second Edition

3.6 3.6 out of 5 stars 24 ratings

There is a newer edition of this item:

{"desktop_buybox_group_1":[{"displayPrice":"$15.13","priceAmount":15.13,"currencySymbol":"$","integerValue":"15","decimalSeparator":".","fractionalValue":"13","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"n9k7sPbfKojdjzrOCv02hNOFAXo%2BMksEvVWsJYapWfXP1pRyLRE50NC8I6zGgdaxdkKxpVW%2BEdPXu5TyPoBY1LZI%2BjLSDOEnjyAH5o31hgiLznMLImHxRBMA5LcjJWsdujp21MZ0U2%2BwDODyof1hIfX%2BwOdDcauVsQcwg8fBdaQUp5%2Fzjh89faAm8YmK3SwO","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$9.98","priceAmount":9.98,"currencySymbol":"$","integerValue":"9","decimalSeparator":".","fractionalValue":"98","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"n9k7sPbfKojdjzrOCv02hNOFAXo%2BMksEUhksZRWZIRaEeSqqX1w%2B8Cw0rW7xcLNqEpF5BQlJl1bR2hFBrhAziETmxMk9sfuJFpgyV9qwDljhtJMQtuY7wpb%2BLBK0u2arMtgbzgxWFX9y4tjInzZgiSPeBhMh%2Fcxq5wFj47nVKj27DJbvLcvSc68aRjY7nRor","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

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. 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.This second edition covers all of the features of bash Version 2.0, while still applying to bash Version 1.x. New features include the addition of one-dimensional arrays, parameter expansion, and more pattern-matching operations. bash 2.0 provides even more conformity with POSIX.2 standards, and in POSIX.2 mode is completely POSIX.2 conformant. This second edition covers several new commands, security improvements, additions to ReadLine, improved configuration and installation, and an additional programming aid, the bash shell debugger.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

Amazon First Reads | Editors' picks at exclusive prices

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. Bill Rosenblatt is author of the the O'Reilly Nutshell Handbook® Learning the Korn Shell; co-author, with Deb Cameron, of Learning GNU Emacs; and a contributor to UNIX Power Tools. He is director of publishing systems at the Times Mirror Company in New York City and a columnist in SunWorld Online magazine on the World Wide Web. Bill received a B.S.E. from Princeton University and an M.S. and A.B.D. from the University of Massachusetts at Amherst, each in some variant of computer science. His interests in the computing field include multimedia databases, electronic publishing, and object- oriented systems. Outside of the computing field, he's interested in jazz, classical music, antique maps, and Sherlock Holmes pastiche novels. Bill lives on the Upper West Side of Manhattan. He wishes his landlord allowed pets so that he could truthfully claim to have a dog and cat with suitably droll names like "Coltrane" and "Ravel."

Bill Rosenblatt is president of GiantSteps/Media Technology Strategies, a consulting firm in New York City. Before founding GiantSteps, Bill was CTO of Fathom, an online content and education company associated with Columbia University and other scholarly institutions. He has been a technology executive at McGraw-Hill and Times Mirror, and head of strategic marketing for media and publishing at Sun Microsystems. Bill was also one of the architects of the Digital Object Identifier (DOI), a standard for online content identification and DRM.

Product details

  • Publisher ‏ : ‎ O'Reilly Media; Second edition (January 26, 1998)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 336 pages
  • ISBN-10 ‏ : ‎ 1565923472
  • ISBN-13 ‏ : ‎ 978-1565923478
  • Item Weight ‏ : ‎ 1.18 pounds
  • Dimensions ‏ : ‎ 7 x 0.81 x 9.19 inches
  • Customer Reviews:
    3.6 3.6 out of 5 stars 24 ratings

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

3.6 out of 5 stars
3.6 out of 5
24 global ratings

Customers say

Customers find the book a great reference tool and easy to read. They also appreciate the practical examples.

AI-generated from the text of customer reviews

Select to learn more
3 customers mention "Content clarity"3 positive0 negative

Customers find the book to be a great reference tool when working on the Unix command. They say the examples are practical and clear. Customers also say the book is a good introduction and reference resource.

"...This book helped me write a bash script that is being used by hundreds where I work." Read more

"...you do have manpages, which are often handy, this book brings you clarity and elaboration when coding may not come to you that easy as it does for..." Read more

"This is a useful introduction to the Bash shell used in unix, linux, and other *nix type operating systems...." Read more

3 customers mention "Readability"3 positive0 negative

Customers find the book easy to read, with practical examples. They also say the book is clear, useful, and detailed without being dull.

"...They make for easy reads. Examples are practical and clear...." Read more

"...I found it clear, useful and detailed without being dull." Read more

"Good bus reading..." Read more

Top reviews from the United States

Reviewed in the United States on June 21, 2013
Anything I've purchased by O'Reilly is the best stuff on Unix and Unix tools! This book helped me write a bash script that is being used by hundreds where I work.
Reviewed in the United States on September 3, 2002
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. Examples are practical and clear.
I find this book to be a great reference tool when working on the Unix command line in the Bash Shell environment. I highly recommend this book if not for reading purposes but as an excellent source of feedback if you are not sure what commands you should be using.
Whilst you do have manpages, which are often handy, this book brings you clarity and elaboration when coding may not come to you that easy as it does for others. Learn Bash without bashing your skull on the keyboard in frustration.
3 people found this helpful
Report
Reviewed in the United States on December 12, 2012
The book was in great shape and couldn't beat the price Cheap.
GOOD GOOD GOOD GOOD GOOD GOOD GOOD GOOD
Reviewed in the United States on April 1, 2015
A lot of information contained within on using the bash command-line interface, complete with commands are their purposes.
Reviewed in the United States on April 8, 2005
The best book I have ever read on the subject.

The only think I could think to complain about is that

sometimes it was a little hard to follow.

I still give five stars, because the teaching style is great.

a little history, some basic commands, and into shell programing. When you finish the book you will know a lot about how the shell works, Job control and so on.

Also great for linux newbies, But I recamend reading sam`s teach yourself unix in 24 hours first, you will get a good basic understanding of the command line.
4 people found this helpful
Report
Reviewed in the United States on September 8, 2001
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. I like this book because sometimes I don't have a terminal in front of me, like when I'm sitting on the bus in the morning. So I have this book with me, and I read a few pages rather than stare out the window. It's cheap, so what the heck, if you are a Bash user and feel like there's more to learn then grab it.
3 people found this helpful
Report
Reviewed in the United States on January 24, 2015
I've told myself to get a book about bash so many times in the past that my Goodread`s Want to Read shelf was getting boringly monothematic. Last month I planned to get my hands on bash Cookbook but a comment on Amazon convinced me to dedicate my time to this title instead. To make it short, I'm not exactly enthusiast: some (just some!) parts were interesting; others (most!) were overly detailed and accompanied with complicated examples, a pain to get through.

This is a book that clearly targets beginners, people with close to no experience with Linux and the bash shell. If you work on a daily basis with the penguin, you better move along.

Ok so, let's imagine I recently moved from Windows to Linux and I want to explore what the bash shell offers me. What do I get off these 300 pages? Well, the book is divided in 3 parts:

Very basic shell features.
Basic shell scripting.
Basic shell features.

The first part, which covers the first three chapters, tells you about basic commands, such as "ls" and all the arguments it swallows. Unless you have never opened the terminal before, you might want to skip these pages.

Next the authors introduce some basic shell scripting, starting from variable naming to arrays and flow control. This was, by far, the most interesting part of the whole book in my opinion, but still, the author has covered only the very basics. What I've found particularly annoying was the choice to list all the possible options available just to find out, later, that the book wasn't about system programming so that they would have not been explained.

Finally, we leave the magic world of scripting and get introduced to other basic features, such as jobs: background foreground, handling signals.

Throughout the book the authors use an example that gets improved as they introduce new concepts. This gets early out of control in my opinion: it's overly hard to follow, mainly for a beginner. A very annoying thing of this example is the fact that the authors names variables, functions and files using Alice in Wonderland: Alice, the Hatter, ... for real?

Other examples are found in the book. They are short ad hoc code snippets found next to some command just explained. I've often ended up either using man or googling to find more.

I don't really suggest the title, neither to those new to the bash shell, nor to those that are merely interested in scripting. This book covers a little of both, but doesn't really give any value.

Suggested book(s):
Linux Shell Scripting Cookbook

As usual, you can find more reviews on my personal blog: http://books.lostinmalloc.com. Feel free to pass by and share your thoughts!
One person found this helpful
Report
Reviewed in the United States on July 23, 2005
This book (2nd. ed.) shows how bash shell programming exploits special capabilities of linux and unix. Shell programming manages other, more specialized, programs. So understanding the shell is essential to fully exploiting multitasking environments like linux.

This book comfortably covers a complex topic. As software evolves, these skills apply to the TCL shell and the Z shell, too. I am eager to get started on the 3rd. edition of this book.
5 people found this helpful
Report

Top reviews from other countries

Luke Wakefield
3.0 out of 5 stars Three Stars
Reviewed in the United Kingdom on July 23, 2015
If you have no previous experience of BASH, this book might be a bit hard.
"fperut"
5.0 out of 5 stars Excellent
Reviewed in Japan on January 2, 2005
This is definitely an excellent book, a must for anyone interested in learning about UNIX or Linux OS. It not only gives a good understanding on how to write scripts for bash shell but also gives a good description of process handling, job control, signal. It is also very well written and with plenty of good examples and exercices. I did not loose my money when I purchased this book !
2 people found this helpful
Report