- Series: Cookbooks (O'Reilly)
- Paperback: 630 pages
- Publisher: O'Reilly Media; 1 edition (June 3, 2007)
- Language: English
- ISBN-10: 0596526784
- ISBN-13: 978-0596526788
- Product Dimensions: 7 x 1.2 x 9.2 inches
- Shipping Weight: 1.9 pounds
- Average Customer Review: 32 customer reviews
- Amazon Best Sellers Rank: #379,248 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
bash Cookbook: Solutions and Examples for bash Users (Cookbooks (O'Reilly)) 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
There is a newer edition of this item:
See the Best Books of 2018 So Far
Looking for something great to read? Browse our editors' picks for the best books of the year so far in fiction, nonfiction, mysteries, children's books, and much more.
The key to mastering any Unix system, especially Linux and Mac OS X, is a thorough knowledge of shell scripting. Scripting is a way to harness and customize the power of any Unix system, and it's an essential skill for any Unix users, including system administrators and professional OS X developers. But beneath this simple promise lies a treacherous ocean of variations in Unix commands and standards.
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages. Packed full of useful scripts, along with examples that explain how to create better scripts, this new cookbook gives professionals and power users everything they need to automate routine tasks and enable them to truly manage their systems -- rather than have their systems manage them.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
With it, you can glean quick, easy to understand recipes that will point you in the right direction to creating useful scripts. Additionally, they emphasize solutions to certain pitfalls (and how to avoid them in the first place), and also some best practices when writing scripts and code. It isn't a total "cheat book", you definitely have to do some learning to even know what you're trying to do, and they don't spell everything out for you. But the "Discussion" section of each entry should do a good job in clearing up most questions.
I'm a bit of a fan of O'Reilly books and this is one that I use the most often, since bash is still a useful tool for any sysadmin/IT g[uy,irl].
#also, though they don't really make a strong case for it, this is a really great book to use with Macs.
It's set up as a large collection of 1 or 2 or 3 page how-to's covering apparently everything you'll run across or need to do with shell scripts. Each how-to is set up as example code followed by thorough discussion. This worked really well for me -- I could see the specific code needed and then they explained the details of it. I came away knowing exactly what code to use while understanding how that code worked. Too often books give you code to use but you don't fully understand it or they explain topics without giving you the specifics to get your task accomplished right then and there.
I started off just reading the first 100 pages so I got the basics down. Even though it's all set up as these short topics, it's ordered well enough that reading sequentially front-to-back was very effective for learning the basics. After that I jumped around and easily found what I needed.
Your mileage may vary.
From a quick thumb-through, I gathered that the rest of the book was just as concise and easy to navigate. Probably not great for complete linux n00bs, but it sure beats the bash man page!!! For anyone who uses the bash shell on a regular basis, whether for scripting or just running unix commands, this is absolutely indispensable. I have no idea how I got through 13+ years of unix programming without it.
Why? Because it concentrates on teaching you how to solve your problems. After a brief introduction and setting the basics the real depth begins: 1. a problem, 2. developing a solution, 3. evaluating the solution. And lots of examples. Naturally, the first step is to recognise that you have a problem, which the book also teaches you: some people tend to suffer while doing a repetitive and uninteresting chore but does not even occur to them that it does not need to be so: they can turn the chore into a hunt for automatisation putting their brain to some creative use, so instead of numbing their mind they start sharping it, and this is exactly where this book comes in.
Presently, amazon.com does not offer you a look into the book, but you can have a preview of every chapter and also a full view of the table of contents at the publisher's page: [...] Than come back here, as Amazon's price is much better. (At the time of writing this, there is a 37% discount.)
If you know a little bash, then this book will bootstrap you all the way up to expert if you take the time to study it. Even if you don't care to be a bash expert you still want this book -- it will save you a ton of time on every bash script you write.
I've owned the book for less than a week and already used 6 different recipes within 2 scripts I needed to write. I used to get apprehensive every time I needed to drop into bash - basically because I don't use it frequently enough to ever master. As long as this book is by my side I will fear no more!
Most recent customer reviews
I tried reading a couple other bash scripting books, but found them so dry...Read more
Second order of business: Get some flash cards
It took me a second go to see the...Read more
1. In fact this is not a set of independent tips but a good study book where material is presented following "from simple to...Read more