Customer Reviews


13 Reviews
5 star:
 (2)
4 star:
 (3)
3 star:
 (3)
2 star:
 (3)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
Share your thoughts with other customers
Create your own review
 
 
Only search this product's reviews

The most helpful favorable review
The most helpful critical review


9 of 9 people found the following review helpful:
4.0 out of 5 stars A good book with some typos
I recently got my hands on a copy of "Python for Unix and Linux System Administration". After reading it, I felt the time I've invested in reading it was well spent. The author introduced the reader to many different situations where python would help make their lives as system administrators easier, without confusing the reader with some complex forms or statements. My...
Published on March 12, 2009 by Eric Lake

versus
12 of 14 people found the following review helpful:
2.0 out of 5 stars Title should be "Learning Python..."
As a sysadmin and avid Python user I was looking forward to all the cool tricks/hacks I'd pick up from this book. Once I got it, I was a bit disappointed. The title should be "Learning Python for System Admins". It's very much an into to Python itself, and not anything close to a "cookbook" I was expecting. It covers a ton of topics, but all without much depth. It might...
Published on October 21, 2008 by Richard T. Harding


‹ Previous | 1 2 | Next ›
Most Helpful First | Newest First

9 of 9 people found the following review helpful:
4.0 out of 5 stars A good book with some typos, March 12, 2009
By 
Eric Lake (Lexington, Ky United States) - See all my reviews
(REAL NAME)   
This review is from: Python for Unix and Linux System Administration (Paperback)
I recently got my hands on a copy of "Python for Unix and Linux System Administration". After reading it, I felt the time I've invested in reading it was well spent. The author introduced the reader to many different situations where python would help make their lives as system administrators easier, without confusing the reader with some complex forms or statements. My feeling is that this book is aimed at people who want to use Python to solve their problems quickly and efficiently, but only have a limited experience with the language - and the books fits that purpose well with its rather superficial approach that the reader can later extend later on with various available resources. It would only be fair that I too mention some of the shortcomings that I noticed while reading this book.

Pros:
1) The author introduces the reader to ways that Python can be used.
2) Most of the time there will be more than one way to accomplish a task. The author at times presents a scenario and showed the reader how to do the same task with different modules. This places the choice of which to use back where it belongs, with the reader.
3) The book has a website (most do these days) where the code examples can be downloaded. http://py4sa.appspot.com/

Cons:
1) More time was spent on iPython than was really needed.
2) The case of a word is important in Python. For instance "import Sys" and "import sys" are two completely different things. There were quite a few occasions where a module name was used as the first word in the sentence and because of that it was capitalized.
3) There was once instance that I saw where a script example had no indentation at all. Trying to run it would have resulted in complete failure.
4) It would have been nice if the script examples were named instead of leaving it to the reader to figure it out based on the imports used in another example.

When all is said and done I think I would recommend the book to others if I knew that they had at least some background with Python. And I would highly recommend that they check the addendum and errata pages.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


12 of 14 people found the following review helpful:
2.0 out of 5 stars Title should be "Learning Python...", October 21, 2008
This review is from: Python for Unix and Linux System Administration (Paperback)
As a sysadmin and avid Python user I was looking forward to all the cool tricks/hacks I'd pick up from this book. Once I got it, I was a bit disappointed. The title should be "Learning Python for System Admins". It's very much an into to Python itself, and not anything close to a "cookbook" I was expecting. It covers a ton of topics, but all without much depth. It might be useful to some, but definitely not what I was looking for.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


11 of 13 people found the following review helpful:
3.0 out of 5 stars Could be better, but still useful, December 18, 2008
Amazon Verified Purchase(What's this?)
This review is from: Python for Unix and Linux System Administration (Paperback)
Flicking through the table of contents, there seems to be a lot of promise in Python for Unix and Linux System Administration. The book seems targeted specifically for Unix admins, touching on actual problems and providing actual solutions. On the face of it, it looks to be Programming Python with an OS-specific slant.

Unfortunately, the execution here just doesn't seem to be on a par with that of other O'Reilly books. There is useful information to be had in this text, to be sure, but it's at times difficult to extract.

Perhaps my view of this book is tainted by my recent experience with The Ruby Programming Language, one of the most enjoyable technical reference books I've ever encountered. I'll spare you the details (I have a full review on that product page), but rarely have I felt such joy in reading about code.

I do not feel such joy when slogging through Python for Unix and Linux System Administration. I get the impression, at times, that the author should have simply let the code speak for itself, and spared us his narration entirely.

For example, here is a snippet from Chapter 3, on text manipulation:

"The final file method that we will discuss for getting text out of a file is readlines(). Readlines() is not a typo, nor is it a cut-and-paste error from the previous example. Readlines() reads in all of the lines of a file. Well, that is almost true."

This text feels horribly labored to me. He's telling us what readlines() is not, and it takes him a while to tell us what it actually is. Also, note that Readlines() (with the capital "R") is not valid; despite its use in the beginning of a sentence, the author should always use the proper capitalization of the method to avoid confusion. Nitpick, perhaps, but this could catch somebody off guard.

Contrast this with the pydoc description of readlines():

"Call readline() repeatedly and return a list of the lines so read. The optional size argument, if given, is an approximate bound on the total number of bytes in the lines returned."

Clear, concise, and much more legible. When I want to know about readlines(), I want to know what it does and what it is, not what it *doesn't* do and *almost* is.

This is just an example. There are others, but I think you get the idea: it's not a book you'll want to curl up with in front of the fire for a pleasant read. Instead, this is a book that does have useful information in it, but you'll have to force yourself to dig it out.

The book does provide some useful examples for addressing specific problems, and if you have such a problem this might be exactly what you need. Do not mistake this for a cookbook, though; it's a lengthy tutorial with real world examples, not a tome of useful hacks that you will be constantly calling upon.

In short: a workable introduction to a variety of useful techniques, though lacking a bit in quality compared to other O'Reilly books. Unless you're really interested in some of the OS-specific topics covered in this book, the more general (and much more comprehensive) Programming Python will probably serve you better.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 5 people found the following review helpful:
4.0 out of 5 stars Got me hooked on Python, March 23, 2009
This review is from: Python for Unix and Linux System Administration (Paperback)
I felt this was a much better book for me than two other Oreilly titles for picking up Python. That being said, I do believe having a background in another language (Perl/Bash/etc.) and being a Linux/*nix admin is required to get the most from it.

It gave great examples that made practical sense and covered a ton of topics.

My only knocks would be I wish the iPython chapter was not included and the final chapter "Pragmatic Examples" was extended.

If you have never used Perl, or another language, the intro section may not be enough to get you to follow along - that being said, most admins I'm sure have already been exposed to a language of some sort.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


10 of 12 people found the following review helpful:
4.0 out of 5 stars Covers right topics, writing could be better, September 23, 2008
Amazon Verified Purchase(What's this?)
This review is from: Python for Unix and Linux System Administration (Paperback)
As a sys-admin who has used Python, I couldn't wait for this text to come out. It certainly fills a need and contains useful insights on how to get the job done faster.

The writing could be better though. The conversational writing style causes the book to take a while to say simple things. It also rambles a bit. I've noticed a couple times that it introduces a topic, goes off on one or two tangents and then gets back to the original topic. I've also noticed more than a few grammar and spelling errors.

Because of the value of the material covered, it is still well worth reading.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4 of 4 people found the following review helpful:
3.0 out of 5 stars Not a bad book at all, but it didn't inspire me either, March 17, 2009
This review is from: Python for Unix and Linux System Administration (Paperback)
I have four Python books on my shelf. I like the language, at least in theory. It is easy to read, clear, and powerful. In practice, I really don't program much. I was hoping that this book might push me over the edge from writing shell and PHP scripts for my simple needs into Python land. So many of my friends love the language.

I read the book this week. There are a lot of great ideas in there that would be useful for a sysadmin. The examples chosen are generally practical and useful. I was a bit disappointed by the occasional typographical or capitalization error, especially in code examples and discussion, which are not uncommon in first edition books, but are generally uncommon from O'Reilly books. I also found the early emphasis on iPython to be a bit excessive.

This is a little shorter than my usual review, mainly because I can't think of much else to say about the text. It isn't bad, but it isn't great. A sysadmin who is motivated to use Python will find it useful as a foundation. A veteran Python programmer who wants to use the language for systems administration will probably find the book filled with stuff they could have figured out anyway. I wanted to love the book, but I didn't. I didn't hate the book, either. I just feel a bit "meh" about it.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 3 people found the following review helpful:
5.0 out of 5 stars Perfect for Unix and Linux programmers and collections catering to them, December 15, 2008
This review is from: Python for Unix and Linux System Administration (Paperback)
Learn how to use the Python language to handle various tasks when managing Unix and Linux servers with the systems administrator's guide Python for Unix and Linux System Administration. It offers in-depth assessments of common administrative issues, from data backup to concurrence, and includes details on how to run various tasks and how to master the iPython shell. Perfect for Unix and Linux programmers and collections catering to them.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 2 people found the following review helpful:
5.0 out of 5 stars Excellent book., February 11, 2009
By 
D. Stanley (Kent, Ohio USA) - See all my reviews
(REAL NAME)   
This review is from: Python for Unix and Linux System Administration (Paperback)
I highly recommend this book for anyone in the systems admin field, or for anyone who does python development on unix platforms. It has a wealth of knowledge and tips that will give you the tools to be a more productive sysadmin.

This book will be required reading for my next systems administration class!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 11 people found the following review helpful:
1.0 out of 5 stars Example code fails!, October 16, 2008
This review is from: Python for Unix and Linux System Administration (Paperback)
Wow. I haven't been this disappointed with an O'Reilly book in ages. The worst part is, much of the sample code simply will not run. At first I thought it was my poor typing but then on page 207 the author finally points me at a url where I can download his source, so I do. His source doesn't work either! What gives? Did they just skip having this text edited? Seems so.

Don't waste your time with this one.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 7 people found the following review helpful:
2.0 out of 5 stars Examples aren't working, March 10, 2009
By 
John McAdams (New York, NY United States) - See all my reviews
This review is from: Python for Unix and Linux System Administration (Paperback)
The example scripts in the PDF don't always work and have errors. Check out this snippet from page 210 of the PDF:

def create_checksum(path):
"""
Reads in file. Creates checksum of file line by line.
Returns complete checksum total for file.
"""
fp = open(path)
checksum = hashlib.md5()
while True:
buffer = fp.read(8192)
if not buffer:break
checksum.update(buffer)
fp.close()
checksum = checksum.digest()
return checksum
Here is an iterative example that uses this function with IPython to compare two files:
In [2]: from checksum import createChecksum

In [3]: if createChecksum("image1") == createChecksum("image2"):
...: print "True"
...:
...:
True
In [5]: if createChecksum("image1") == createChecksum("image_unique"):
print "True"
...:
...:

The first example defines create_checksum and the second calls createChecksum. But that's not all, the indentation is off and there is no main method in the first example. I'm spending more time figuring out why the examples don't work than learning Python. If you like proof reading and troubleshooting syntax, this is the book for you.

The book is supposed to have an image of all the scripts somewhere but there is not link in the PDF. At least not in the first 200 pages.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


‹ Previous | 1 2 | Next ›
Most Helpful First | Newest First

This product

Python for Unix and Linux System Administration
Python for Unix and Linux System Administration by Noah Gift (Paperback - August 29, 2008)
$49.99 $31.67
In Stock
Add to cart Add to wishlist