
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:
-44% $38.87$38.87
Ships from: Amazon.com Sold by: Amazon.com
Save with Used - Good
$26.62$26.62
Ships from: b4cause Sold by: b4cause

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.
From Bash to Z Shell: Conquering the Command Line
Purchase options and add-ons
- Ernest J.
This is a totally neat idea for a book... the command line gets addictive quickly.
- Bill Ryan, Bill's House O Insomnia
This comprehensive, hands-on guide focuses on two of the most popular and feature-rich shells, bash and zsh. From Bash to Z Shell: Conquering the Command Line is a book for all skill levels. Novices will receive an introduction to the features of shells and power users will get to explore the benefits of zsh--one of the most powerful, versatile shells ever written. Intermediate users will uncover hints, recipes, and ideas to enhance their skill sets.
The book covers shell programming, but is unique in its thorough coverage of using shells interactively--a powerful and time-saving alternative to windows and a mouse. This strong author team has written an immediately useful book, packed with examples and suggestions that users of Unix, Linux, Mac OS X and Microsoft Windows can readily apply.
- ISBN-101590593766
- ISBN-13978-1590593769
- Publication dateNovember 12, 2004
- LanguageEnglish
- Dimensions7.01 x 1.07 x 9.25 inches
- Print length472 pages
Frequently bought together

Customers who viewed this item also viewed
Editorial Reviews
From the Publisher
Jerry Peek is a freelance writer and instructor. He has used shells extensively and has taught users about them for over 20 years. Peek is the "Power Tools" columnist for Linux Magazine and coauthored the book UNIX Power Tools.
Peter Stephenson grew up in northeast England and studied physics at Oxford, where he earned a bachelor's degree and a Ph.D. Stephenson spent 9 years as a physics researcher, with an emphasis on computational physics, and resided in Liverpool, Swansea, Berlin, and Pisa.
Since 2000, Stephenson has been a software engineer with Cambridge Silicon Radio, where he works on the baseband firmware for short-range digital radio standards, such as Bluetooth. Stephenson has been involoved in the development of ZSH since the 1990s, when he began writing the FAQs. The past several years, he has coordinated the shell's development.
About the Author
Product details
- Publisher : Apress (November 12, 2004)
- Language : English
- Paperback : 472 pages
- ISBN-10 : 1590593766
- ISBN-13 : 978-1590593769
- Item Weight : 1.62 pounds
- Dimensions : 7.01 x 1.07 x 9.25 inches
- Best Sellers Rank: #807,859 in Books (See Top 100 in Books)
- #200 in Software Design & Engineering
- #269 in Linux Operating System
- #846 in Software Development (Books)
- Customer Reviews:
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's information quality excellent, with one review noting how it distills information into every page. Moreover, the coverage is comprehensive, with one customer highlighting its extensive coverage of both Bash and zsh shells. Additionally, the writing style receives positive feedback, with customers describing it as well-written and easy to read.
AI-generated from the text of customer reviews
Select to learn more
Customers find the book's information quality excellent, with multiple reviews noting that it distills a lot of information into every page. One customer specifically mentions it provides a good introduction to both bash and zsh, while another highlights its comprehensive coverage of shell actions.
"...There is surprisingly good depth even here though and I doubt that anyone short of a power user could make it through this section without picking..." Read more
"...This book teaches you about essential techniques such as CDPATH, History options, key bindings, editing modes, and tons more...." Read more
"...Well written & easy to follow. I can't speak to whether it's included everything that should be included, because I'm a newbie." Read more
"...The text also encourages testing and experimentation. Highly recommended." Read more
Customers appreciate the comprehensive coverage of the book, with one customer noting its extensive treatment of both Bash and zsh shells.
"...As the title suggests, the book extensively covers both the Bash shell, which seems to be the standard default on many Unix systems now, and the..." Read more
"...The zsh coverage in particular is useful now that Apple has made zsh the standard shell for their recent OSs as of this writing (2023)...." Read more
"Well-written book. Easy to read, and has a very good coverage of the features of both bash and zsh...." Read more
Customers appreciate the writing style of the book, finding it well written and easy to read, with one customer noting that the material is presented naturally.
"...I found the material to be presented so naturally that I absorbed it with ease...." Read more
"...Well written & easy to follow. I can't speak to whether it's included everything that should be included, because I'm a newbie." Read more
"Well-written book. Easy to read, and has a very good coverage of the features of both bash and zsh...." Read more
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on January 18, 2008I work on multiple Unix platforms all day long. I had never really taken the time to learn about the shells, but I had picked up the basics over time. I knew how to run commands, string them together with pipes, and redirect their output into files. So when I tell you that I started learning new things in the first chapter of From Bash to Z Shell, you will know the coverage is in depth. If you are a casual shell user, or even less experienced, this book has a lot to offer you.
From Bash to Z Shell is organized into three parts. Part one is an introduction to shell basics. It focuses on typical interactions with a shell including all of the things I mentioned knowing before reading this book. There is surprisingly good depth even here though and I doubt that anyone short of a power user could make it through this section without picking up a new trick or two. I learned multiple things from each chapter in this section.
In part two, each chapter takes a single aspect of the shells and really focuses in on just that. You will find chapters about the startup files each shell invokes as well as shell command histories. This is comprehensive coverage that really gets you to understand how things work as well as how to tune them to your personal tastes. You are even less likely to not pickup great tips in here.
The third and final part of the book turns to shell programming. While I suspect that plenty of users interact with a shell regularly without getting much into scripting them, there are still useful tidbits in here for them too. For example, after reading this section, I added some code to my startup file to customize my shell's completion functionality. I can now tab-complete the server names used by my workplace and even file system paths on those servers. This section also has a very good chapter on variables that will definitely help in day to day usage. A couple of the final chapters in here are heavily slanted towards or exclusively about the Z Shell though, so those chapters don't hold much for users of other shells.
As the title suggests, the book extensively covers both the Bash shell, which seems to be the standard default on many Unix systems now, and the feature-rich Z Shell that power users seem to favor. Surprisingly though, the book does talk about many other shells. In the first part especially, features tend to be described for more than just the two shells with top billing. This falls off in the later parts to some extent though. Also, the authors clearly aren't fans of the C Shell or its derivative the T C-Shell, so fans of those will want to look elsewhere. Windows receives some screen time, but only from the angle of running Unix-like environments and shells on it. You won't find coverage of the native Windows shells in these pages.
The book is quite good at covering the similarities of the shells. They frequently tell you when some command will work unchanged in both Bash and the Z Shell and they always do their best to give two equivalent commands when there are differences. This makes the shell knowledge you pick up from reading quite portable. It's also nice for those who don't know much about the differences between the shells and thus are trying to learn enough to pick the right one for them. It helped me choose a favorite. The only downside of this is that the transitions seem to become less smooth late in the book and I found myself wondering if we were still talking about Bash or had moved on to Z Shell a few times. This is a minor complaint though.
Beyond covering the shells well, the book can also help you better understand the design of the Unix operating system. It has some great asides on things like process forking and child process inheritance, special files and devices, and terminal drivers. Seeing these items through their interactions with a shell can make them significantly easier to grasp.
The writing style of this book is very natural. That's important since it distills so much information into every page, you could easily begin to feel overwhelmed. Luckily, that wasn't the case at all for me. I found the material to be presented so naturally that I absorbed it with ease. The book also has abundant cross references and a strong index which will make it great to reference later.
The final measure of a book like this turns out to be how much it changed your daily work habits. I've already noticed dramatic differences. I'm using shell loops at the command-line now to process many files at once; I actually understand shell quoting and when to use which types of quotes and escapes to get the desired effect; I can easily strip off a file extension or get a directory name from a full path when I need one; I make constant use of the command history now whether I'm searching for a past command, correcting a typo, or just pulling a single argument out of a previous command for reuse in a new command; and I've written a few shell functions to provide shortcuts to my common tasks. I just naturally began doing these things too, I didn't have to work at it a lot. From Bash to Z Shell just raised my understanding that much. To me, that's a big selling point.
- Reviewed in the United States on October 5, 2023Gosh, if only every book were as well-written as this one! I went from being scared of shells to feeling confident with them. The zsh coverage in particular is useful now that Apple has made zsh the standard shell for their recent OSs as of this writing (2023). And this book was written about three decades before this. Truly a book ahead of its time.
- Reviewed in the United States on February 6, 2006I've just finished reading From Bash to Z Shell from APress Publishing. It's taught this Linux NetAdmin several new tricks, and should be an addition to any Admin's bookshelf. It'll fit nicely next to your O'Reilly's.
I initially bought the book to lean the Z Shell (zsh), but decided that I'll stick with good 'ole Bash for a little longer. The tricks I've learned through this book about Bash quenches my needs for the moment. This book teaches you about essential techniques such as CDPATH, History options, key bindings, editing modes, and tons more. I've only read it only once, but I have already dog-eared 20 pages. My ~/.bashrc, and ~/.inputrc are in full swing with many new shortcuts! I highly recommend this book!!
- Reviewed in the United States on May 2, 2015Content: After reading the first part I was a little disappointed as the material seemed dated and similar to many other books on the subject. Fortunately, I stuck with it into part 2 which was eye opening. I definitely learned several things even after having used the command line regularly for several years. At times it is a little confusing to determine whether a feature applies to bash or zsh or both but there are many things in this book that I hadn't seen in many other books on the linux command line.
Kindle Version: I purchased the kindle version and must caution people about this option. The formatting frequently doesn't translate well and command in a monospaced typeface often have an extra space inserted before or after an underscore, can be very confusing at times.
- Reviewed in the United States on April 15, 2020Great book. Begins at the beginning, for those of us who don't know much, and goes into lots of details. Well written & easy to follow. I can't speak to whether it's included everything that should be included, because I'm a newbie.
- Reviewed in the United States on February 16, 2014Starts from nothing, and develops practical examples, and uses diagrams to show how shells fit together. Though the shell versions covered are old now, and in some cases new utilities are available to workaround the "clobber a file being read from" problem—they recommend a tmp file, which is fine, though there is `sponge` from MoreUtils, the shells have not changed substantially, and the chapter on shell completion is much gentler than delving through the shell manuals. The text also encourages testing and experimentation. Highly recommended.
- Reviewed in the United States on September 10, 2012Well-written book. Easy to read, and has a very good coverage of the features of both bash and zsh. From this I could learn quite a bit about zsh and I'm very happy I bought this book. Highly recommended to anyone that spends a nontrivial amount of time on the command line.
- Reviewed in the United States on April 24, 2020The content of this book is top notch. It provides a good introduction to shell actions and guides you through the details with good examples and lots of backup information.
The printing of the physical book is BAD. The book I received was so misaligned during manufacture that all the page numbers and headings were chopped off the top of the pages. This makes the index largely useless and for a REFERENCE book, that's a catastrophe! Unfortunately I needed the book and can't take the time to return it.
I paid $32 for a book that I will have to replace at some point due to the manufacturer' poor quality control. I would hope that everything turned out by Apress is not of such poor quality.
Top reviews from other countries
-
Andreas GrellReviewed in Germany on October 2, 2009
5.0 out of 5 stars Ein hervorragendes Kompendium für jeden, der sich mit Shell-Programmierung auseinander setzt!
Angelsächsische Präzision und beeindruckende Klarheit der Ausdrucksweise und dabei gleichzeitig sehr lesenswert, weil leicht und erfrischend geschrieben -- mit diesen Begriffen ist dieses Meisterwerk hinreichend beschrieben.
- Bernard HurleyReviewed in the United Kingdom on September 30, 2013
5.0 out of 5 stars Excellent!
I bought this book for a relative who is just learning shell scripting but I have found it very useful myself. I have been using shells and writing shell scripts since the mid 80's so you might think I had nothing to learn. However, like many people, I get into the habit of using just a few techniques, which serve my purposes reasonably well. From the book I have discovered many things I had missed for years that would have made my life much easier! And the relative? She has also found it very clear and a useful book to learn from. So I can recommend the book both to newbies and to old hands - what more can I say?
-
Erik SittmannReviewed in Germany on September 11, 2021
4.0 out of 5 stars Informativ
das Buch liefert grundsätzliche Informationen um das Theme Unix Shell.