Full description not available
J**I
A must read for casual shell users.
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.
B**L
Super clear, user-friendly, and informative guide to shells and command-lines
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.
M**Y
Great Info!
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!!
P**N
Very good introduction to both bash and zsh
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.
T**S
Thorough
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.
J**S
Highly recommended
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.
M**I
Makes your shell-time productive and fun
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.
J**X
Great Book - Terrible Printing
The 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.
Trustpilot
1 month ago
4 days ago