- 出版社: O'Reilly Media, Inc, USA (2007年6月12日)
- 丛书名: Cookbooks
- 平装: 622页
- 语种： 英语
- ISBN: 0596526784
- 条形码: 9780596526788, 0636920526780
- 商品尺寸: 17.8 x 3 x 23.3 cm
- 商品重量: 998 g
- ASIN: 0596526784
- 用户评分: 1 条商品评论
- 亚马逊热销商品排名: 图书商品里排第908,787名 (查看图书商品销售排行榜)
bash Cookbook (英语) 平装 – 2007年6月12日
买满 ￥168.00 立减 ￥10.00: 满足条件自动优惠
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. 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. Carl Albing has worked for large companies and small startups, in technical as well as in managerial and marketing roles. He wrote compiler software while at NCR, medical image processing software at a small startup, distributed computing software for the premier supercomputing company Cray Research, Inc. His experience in software development goes back to the early 1970's working with the C Language and Unix. In the last few years, he has put new Linux and Java technologies to use for real-world business solutions. His education includes graduate work in Computer Science as well as a degree in Mathematics and an International MBA.
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.
Your mileage may vary.
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.
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.
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!