Programming Books C Java PHP Python Learn more Browse Programming Books
bash Cookbook: Solutions and Examples for bash Users (Coo... and thousands of other textbooks are available for instant download on your Kindle Fire tablet or on the free Kindle apps for iPad, Android tablets, PC or Mac.
Buy New
$35.25
Qty:1
  • List Price: $49.99
  • Save: $14.74 (29%)
In Stock.
Ships from and sold by Amazon.com.
Gift-wrap available.
Add to Cart
Trade in your item
Get a $10.49
Gift Card.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

bash Cookbook: Solutions and Examples for bash Users (Cookbooks (O'Reilly)) Paperback – May 31, 2007

ISBN-13: 978-0596526788 ISBN-10: 0596526784 Edition: 1st

Buy New
Price: $35.25
31 New from $28.58 21 Used from $20.89
Rent from Amazon Price New from Used from
eTextbook
"Please retry"
$11.13
Paperback
"Please retry"
$35.25
$28.58 $20.89

Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student



Frequently Bought Together

bash Cookbook: Solutions and Examples for bash Users (Cookbooks (O'Reilly)) + Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly)) + bash Pocket Reference (Pocket Reference (O'Reilly))
Price for all three: $68.12

Buy the selected items together

NO_CONTENT_IN_FEATURE
Save up to 90% on Textbooks
Rent textbooks, buy textbooks, or get up to 80% back when you sell us your books. Shop Now

Product Details

  • Series: Cookbooks (O'Reilly)
  • Paperback: 630 pages
  • Publisher: O'Reilly Media; 1 edition (May 31, 2007)
  • Language: English
  • ISBN-10: 0596526784
  • ISBN-13: 978-0596526788
  • Product Dimensions: 9.2 x 7 x 1.2 inches
  • Shipping Weight: 1.9 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (24 customer reviews)
  • Amazon Best Sellers Rank: #142,973 in Books (See Top 100 in Books)

Editorial Reviews

Book Description

Recipes for Shell Scripting

About the Author

Carl Albing writes software for some of the biggest and fastest computers in the world. A software engineer for Cray, Inc. and an independent consultant, he is comfortable programming with C, Java, bash and much more. Carl is the coauthor of two books, one on Java development on Linux and his latest, the O'Reilly "bash Cookbook". A software consultant, manager, analyst and programmer with an amazing breadth of software experience, Carl has worked with companies in the US, Canada and Europe. He has worked for large companies and small startups, in technical as well as in managerial and marketing roles. Carl's software projects, past and present, involve the design and development of distributed computing software, medical image processing applications, compilers, medical devices, web-based factory floor automation, and more. Carl's education includes graduate work in Computer Science as well as a degree in Mathematics and an International MBA. He has spoken at conferences and training seminars in the US, Canada and Europe as well as local high schools and colleges. Carl enjoys speaking at user groups and seminars on Linux, C, and Java topics. You can visit http://www.carlalbing.com for his contact information.

JP Vossen has been working with computers since the early 80s and has been in the IT industry since the early 90s, specializing in Information Security since the late 90s. He's been fascinated with scripting and automation since he first understood what an autoexec.bat was, and was delighted to discover the power and flexibility of bash and GNU on Linux in the mid-90s. He has previously written for Information Security Magazine and SearchSecurity.com, among others. On those few occasion when he's not in front of a computer, he is usually taking something apart, putting something together, or both.

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.


More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

4.4 out of 5 stars
5 star
17
4 star
4
3 star
1
2 star
0
1 star
2
See all 24 customer reviews
The authors cover classic things like customizing prompt quite well.
kievite
This book is for anyone who uses a Unix or Linux system, as well as system administrators who may use several systems on any given day.
calvinnme
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.
Salvatore R. Mangano

Most Helpful Customer Reviews

38 of 39 people found the following review helpful By calvinnme HALL OF FAMETOP 500 REVIEWERVINE VOICE on June 25, 2007
Format: Paperback
This book covers the GNU Bourne Again Shell, which is a member of the Bourne family of shells that includes the original Bourne shell sh, the Korn shell ksh, and the Public Domain Korn Shell pdksh. This book is for anyone who uses a Unix or Linux system, as well as system administrators who may use several systems on any given day. Thus, there are solutions and useful sections for all levels of users including newcomers. This book is full of recipes for creating scripts and interacting with the shell that will allow you to greatly increase your productivity.

Chapter 1, "Beginning bash" covers what a shell is, why you should care about it, and then the basics of bash including how you get it on your system. The next five chapters are on the basics that you would need when working with any shell - standard I/O, command execution, shell variables, and shell logic and arithmetic. Next there are two chapters on "Intermediate Shell Tools". These chapters' recipes use some utilities that are not part of the shell, but which are so useful that it is hard to imagine using the shell without them, such as "sort" and "grep", for example. Chapter nine features recipes that allow you to find files by case, date, type, size, etc. Chapter 10, "Additional Features for Scripting" has much to do with code reuse, which is something you find even in scripting. Chapter 11, "Working with Dates and Times", seems like it would be very simple, but it's not. This chapter helps you get through the complexities of dealing with different formats for displaying the time and date and converting between various date formats.

Chapter 12, "End-User Tasks As Shell Scripts", shows you a few larger though not large examples of scripts.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
20 of 21 people found the following review helpful By Gordon Ewasiuk on February 29, 2008
Format: Paperback
These O'Reilly Cookbooks should be on every sysadmin's shelf. The Bash Cookbook is no different. Incredibly useful book. I didn't read it cover to cover but have gone back to it at least 15-20 times to pull out nuggets of info. The real-world, practical examples and solutions offered in this book provide the sysadmin with a virtual swiss army knife when working with bash.

Book was so useful, I bought two extra copies and sent them to coworkers.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
17 of 18 people found the following review helpful By Tiberius on October 30, 2008
Format: Paperback Verified Purchase
More than ten years after the first edition of Learning the bash Shell (In a Nutshell (O'Reilly)) came out, there appeared a book that sums up all the experience and expertise the authors have gained since those times using this shell. If you're new to Unix/Linux, start with the work linked in above, but if you have been using either of these systems for some time and you would like to learn how to make your life easier, then this is the book for you.

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.)
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
7 of 7 people found the following review helpful By Anne on March 6, 2009
Format: Paperback Verified Purchase
I had one of those questions today about whether an option exists for a particular built-in command, 'type', and was about to painstakingly page through the bash man page as usual, when I remembered I had just gotten this book. Looked up 'type' in the index, and it referred me to two different pages: one that told me how I can avoid paging through the man page (use the 'help' command!), and one telling me everything I needed to know about using the command (and others like it) in my desired context. I was so happy I kissed it. Yes, I kissed the book.

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.
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
5 of 5 people found the following review helpful By Andrei Mouravski on February 3, 2009
Format: Paperback
Bash Cookbook is a great book for anyone who is interested in learning more about bash and shell scripting. The book starts off with its first chapters dedicated to beginners and learning what bash is, how the prompt works, and how exactly shell scripting works. As the book progresses further, the examples and topics get to an intermediate level, and finally end with an advanced level. The book is packed with wonderful examples and full explanations of all parts of bash.

I had very little knowledge of bash and any sort of scripting before reading this book. I started at the beginning even though I knew some of the topics that were covered, but I still learned things from the tips, which are scattered throughout the book. This book is a good fit for anyone that has very little experience. It explains every type of variable, how to make them, their uses, and shows examples of them in use. It does the same for loops, logic and arithmetic, and every other topic covered in the book. At the very end of the book there are nearly one hundred pages of appendixes which are a wonderful resource full of tables and sample code.

I feel very comfortable after reading this book to do more advanced tasks with bash and shell scripting. I strongly suggest this book to anyone who is interested in leaping into a UNIX shell for the first time. The book is very up to date as it was published in May of 2007, and I plan to use it as a reference for every bash questions I could have.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Customer Images

Most Recent Customer Reviews

Search

What Other Items Do Customers Buy After Viewing This Item?