Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows with Prime
Try Prime
and start saving today with fast, free delivery
Amazon Prime includes:
Fast, FREE Delivery is available to Prime members. To join, select "Try Amazon Prime and start saving today with Fast, FREE Delivery" below the Add to Cart button.
Amazon Prime members enjoy:- Cardmembers earn 5% Back at Amazon.com with a Prime Credit Card.
- Unlimited Free Two-Day Delivery
- Streaming of thousands of movies and TV shows with limited ads on Prime Video.
- A Kindle book to borrow for free each month - with no due dates
- Listen to over 2 million songs and hundreds of playlists
- Unlimited photo storage with anywhere access
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, your membership will automatically upgrade to a monthly membership.
Buy new:
-49% $15.13$15.13
Ships from: Amazon Sold by: Flash Trading
Save with Used - Good
$9.98$9.98
Ships from: Amazon Sold by: Csignr
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.
Follow the authors
OK
Learning the bash Shell Second Edition
There is a newer edition of this item:
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
- ISBN-101565923472
- ISBN-13978-1565923478
- EditionSecond
- PublisherO'Reilly Media
- Publication dateJanuary 26, 1998
- LanguageEnglish
- Dimensions7 x 0.81 x 9.19 inches
- Print length336 pages
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
- Best Sellers Rank: #3,340,313 in Books (See Top 100 in Books)
- #12,571 in Computer Software (Books)
- #15,441 in Computer Science (Books)
- #36,011 in Mathematics (Books)
- Customer Reviews:
About the authors

Discover more of the author’s books, see similar authors, read author blogs and more

Bill Rosenblatt is a globally recognized independent expert in issues related to copyright in the digital age. He is president of GiantSteps Media Technology Strategies, a consulting firm that he founded in 2000, an adjunct professor in the Music Business Program at NYU, and a media industry contributor to Forbes. Bill has degrees in computer science and related fields from Princeton and the University of Massachusetts. He lives in New York City.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers 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
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
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
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
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.
GOOD GOOD GOOD GOOD GOOD GOOD GOOD GOOD
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.
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!
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.

