Buy new:
-44% $38.87
FREE delivery Friday, July 26
Ships from: Amazon.com
Sold by: Amazon.com
$38.87 with 44 percent savings
List Price: $69.99

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
FREE pickup Friday, July 26
Or fastest pickup Wednesday, July 24. Order within 23 hrs 14 mins

1.27 mi | ASHBURN 20147

How pickup works
Pick up from nearby pickup location
Step 1: Place Your Order
Select the “Pickup” option on the product page or during checkout.
Step 2: Receive Notification
Once your package is ready for pickup, you'll receive an email and app notification.
Step 3: Pick up
Bring your order ID or pickup code (if applicable) to your chosen pickup location to pick up your package.
In Stock
$$38.87 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$38.87
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Sold by
Amazon.com
Sold by
Amazon.com
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
Eligible for Return, Refund or Replacement within 30 days of receipt
Returnable Yes
Resolutions Eligible for refund or replacement
Return Window 30 days from delivery
Refund Timelines Typically, an advance refund will be issued within 24 hours of a drop-off or pick-up. For returns that require physical verification, refund issuance may take up to 30 days after drop-off or pick up. Where an advance refund is issued, we will re-charge your payment method if we do not receive the correct item in original condition. See details here.
Late fee A late fee of 20% of the item price will apply if you complete the drop off or pick up after the ‘Return By Date’.
Restocking fee A restocking fee may apply if the item is not returned in original condition and original packaging, or is damaged or missing parts for reasons not due to Amazon or seller error. See details here.
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
Returnable Yes
Resolutions Eligible for refund or replacement
Return Window 30 days from delivery
Refund Timelines Typically, an advance refund will be issued within 24 hours of a drop-off or pick-up. For returns that require physical verification, refund issuance may take up to 30 days after drop-off or pick up. Where an advance refund is issued, we will re-charge your payment method if we do not receive the correct item in original condition. See details here.
Late fee A late fee of 20% of the item price will apply if you complete the drop off or pick up after the ‘Return By Date’.
Restocking fee A restocking fee may apply if the item is not returned in original condition and original packaging, or is damaged or missing parts for reasons not due to Amazon or seller error. See details here.

Return instructions

Item must be in original condition and packaging along with tag, accessories, manuals, and inserts. Unlock any electronic device, delete your account and remove all personal information.
Read full return policy
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
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

From Bash to Z Shell: Conquering the Command Line


{"desktop_buybox_group_1":[{"displayPrice":"$38.87","priceAmount":38.87,"currencySymbol":"$","integerValue":"38","decimalSeparator":".","fractionalValue":"87","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"RuwEIioIFL2P0yRhtcRQxlCq9rwX3k9IM5%2BpSyhMMNH3JO3s7g6fzKUh11AFXyLa83hWz%2F3mxD8oJmx6QdXLO5DBHQT%2BYsNEF8q%2FdrR%2Fff3VAEv1v2kOmV%2BROdt5vck57EIvA%2Bh7pAg%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$31.99","priceAmount":31.99,"currencySymbol":"$","integerValue":"31","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"RuwEIioIFL2P0yRhtcRQxlCq9rwX3k9IsetTHTNJzVHqRzcRtdzUhXeU2Y36TrveK3W3alNZEo3tuNdDorew3Tl5EvNpD4Ig6Ear5H4t608CKHXJwqK8HGMpTEkwWKn3gbYH%2FkuWG6Pu2p9j8%2Fey8ZtuR%2BRShJ98V2nQ0u229AlNIuB7KIVTthwWe29vpz10","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}],"desktop_buybox_group_2":[{"displayPrice":"$38.87","priceAmount":38.87,"currencySymbol":"$","integerValue":"38","decimalSeparator":".","fractionalValue":"87","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"RuwEIioIFL2P0yRhtcRQxlCq9rwX3k9IM5%2BpSyhMMNH3JO3s7g6fzKUh11AFXyLa83hWz%2F3mxD8oJmx6QdXLO5DBHQT%2BYsNEF8q%2FdrR%2Fff3VAEv1v2kOmV%2BROdt5vck57EIvA%2Bh7pAg%3D","locale":"en-US","buyingOptionType":"PICKUP","aapiBuyingOptionIndex":2}]}

Purchase options and add-ons

Some areas are covered in other books, but this one goes into some little-seen side streets and alleyways to show you the shortcuts to more efficient use of the shell. ...The material here is invaluable: you're not going to get it from the manual pages! I strongly recommend it.
- 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.


Amazon First Reads | Editors' picks at exclusive prices

Frequently bought together

$38.87
Get it as soon as Friday, Jul 26
In Stock
Ships from and sold by Amazon.com.
+
$25.58
Get it as soon as Friday, Jul 26
In Stock
Ships from and sold by Amazon.com.
Total price:
To see our price, add these items to your cart.
Details
Added to Cart
Choose items to buy together.

Customer reviews

4.5 out of 5 stars
4.5 out of 5
55 global ratings

Customers say

Customers find the content of this book top notch and good for beginners. They also appreciate the depth of coverage and find the book easy to read. Readers say it makes the transition a breeze and provides valuable tips using both platforms.

AI-generated from the text of customer reviews

Select to learn more
10 customers mention "Content"10 positive0 negative

Customers find the content of the book top notch, guiding them through the details with good examples. They also say it's an awesome way to learn ZSH, and good at covering the similarities of the shells.

"...The book also has abundant cross references and a strong index which will make it great to reference later...." Read more

"...This book teaches you about essential techniques such as CDPATH, History options, key bindings, editing modes, and tons more...." Read more

"Great 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...." Read more

"Starts from nothing, and develops practical examples, and uses diagrams to show how shells fit together...." Read more

6 customers mention "Readability"6 positive0 negative

Customers find the book well-written, easy to follow, and encourages testing and experimentation. They also say the material is presented naturally and absorbs with ease.

"...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

"...The text also encourages testing and experimentation. Highly recommended." Read more

"Well-written book. Easy to read, and has a very good coverage of the features of both bash and zsh...." Read more

3 customers mention "Scope"3 positive0 negative

Customers find the scope of the book to be in depth.

"...This is comprehensive coverage that really gets you to understand how things work as well as how to tune them to your personal tastes...." 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

Top reviews from the United States

Reviewed in the United States on January 18, 2008
I 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.
36 people found this helpful
Report
Reviewed in the United States on October 5, 2023
Gosh, 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.
One person found this helpful
Report
Reviewed in the United States on February 6, 2006
I'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!!
11 people found this helpful
Report
Reviewed in the United States on May 2, 2015
Content: 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.
6 people found this helpful
Report
Reviewed in the United States on April 15, 2020
Great 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, 2014
Starts 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.
One person found this helpful
Report
Reviewed in the United States on May 10, 2021
Pro: Covers the basics
Con: Not advanced enough
2 people found this helpful
Report
Reviewed in the United States on September 10, 2012
Well-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.
One person found this helpful
Report

Top reviews from other countries

Bernard Hurley
5.0 out of 5 stars Excellent!
Reviewed in the United Kingdom on September 30, 2013
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?
Andreas Grell
5.0 out of 5 stars Ein hervorragendes Kompendium für jeden, der sich mit Shell-Programmierung auseinander setzt!
Reviewed in Germany on October 2, 2009
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.
4 people found this helpful
Report
Erik Sittmann
4.0 out of 5 stars Informativ
Reviewed in Germany on September 11, 2021
das Buch liefert grundsätzliche Informationen um das Theme Unix Shell.