or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
49 used & new from $26.23

Have one to sell? Sell yours here
 
   
Python for Unix and Linux System Administration
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

Python for Unix and Linux System Administration (Paperback)

~ (Author), Jeremy Jones (Author)
Key Phrases: package management, simple serialization, data persistence, Sat Apr, Red Hat, Python Standard Library (more...)
3.0 out of 5 stars  See all reviews (13 customer reviews)

List Price: $49.99
Price: $31.49 & this item ships for FREE with Super Saver Shipping. Details
You Save: $18.50 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Thursday, November 12? Choose One-Day Shipping at checkout. Details
34 new from $26.99 15 used from $26.23

Best Value

Buy Python for Unix and Linux System Administration and get Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly)) at an additional 5% off Amazon.com's everyday low price.

Python for Unix and Linux System Administration + Python in a Nutshell, Second Edition (In a Nutshell (O'Reilly))
Buy Together Today: $56.56

Show availability and shipping details


Customers Who Bought This Item Also Bought

Python Cookbook

Python Cookbook

by David Ascher
4.3 out of 5 stars (42)  $23.01
Programming Python

Programming Python

by Mark Lutz
4.1 out of 5 stars (9)  $37.79
Learning Python (Animal Guide)

Learning Python (Animal Guide)

by David Ascher
3.9 out of 5 stars (142)  $34.64
Gray Hat Python: Python Programming for Hackers and Reverse Engineers

Gray Hat Python: Python Programming for Hackers and Reverse Engineers

by Justin Seitz
3.9 out of 5 stars (7)  $26.37
Beginning Python Visualization: Crafting Visual Transformation Scripts (Books for Professionals by Professionals)

Beginning Python Visualization: Crafting Visual Transformation Scripts (Books for Professionals by Professionals)

by Shai Vaingast
4.7 out of 5 stars (9)  $35.60
Explore similar items

Editorial Reviews

Product Description

Python is an ideal language for solving problems, especially in Linux and Unix networks. With this pragmatic book, administrators can review various tasks that often occur in the management of these systems, and learn how Python can provide a more efficient and less painful way to handle them. Each chapter in Python for Unix and Linux System Administration presents a particular administrative issue, such as concurrency or data backup, and presents Python solutions through hands-on examples. Once you finish this book, you'll be able to develop your own set of command-line utilities with Python to tackle a wide range of problems. Discover how this language can help you: Read text files and extract information Run tasks concurrently using the threading and forking options Get information from one process to another using network facilities Create clickable GUIs to handle large and complex utilities Monitor large clusters of machines by interacting with SNMP programmatically Master the IPython Interactive Python shell to replace or augment Bash, Korn, or Z-Shell Integrate Cloud Computing into your infrastructure, and learn to write a Google App Engine Application Solve unique data backup challenges with customized scripts Interact with MySQL, SQLite, Oracle, Postgres, Django ORM, and SQLAlchemy

With this book, you'll learn how to package and deploy your Python applications and libraries, and write code that runs equally well on multiple Unix platforms. You'll also learn about several Python-related technologies that will make your life much easier.



About the Author

Jeremy Jones runs his own international strategic consultancy firm in Oxford. He is a Research Fellow at Harvard7;s Kennedy School of Government as well as a Senior Research Associate at the Oxford Centre for Islamic Studies..

Product Details


More About the Author

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

Visit Amazon's Noah Gift Page

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

13 Reviews
5 star:
 (2)
4 star:
 (3)
3 star:
 (3)
2 star:
 (3)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
3.0 out of 5 stars (13 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
10 of 11 people found the following review helpful:
3.0 out of 5 stars Could be better, but still useful, December 18, 2008
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.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
6 of 6 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)   
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.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
8 of 9 people found the following review helpful:
2.0 out of 5 stars Title should be "Learning Python...", October 21, 2008
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.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars Good book
Maybe the comparission between bash features and python features are not very good.

When Autor try to demostrate python is better, he give some bad examples... Read more
Published 2 months ago by i5513

4.0 out of 5 stars Got me hooked on Python
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... Read more
Published 7 months ago by skippylou

3.0 out of 5 stars Not a bad book at all, but it didn't inspire me either
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. Read more
Published 7 months ago by M. Helmke

2.0 out of 5 stars Examples aren't working
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):
"""... Read more
Published 8 months ago by John McAdams

5.0 out of 5 stars Excellent book.
I highly recommend this book for anyone in the systems admin field, or for anyone who does python development on unix platforms. Read more
Published 9 months ago by D. Stanley

2.0 out of 5 stars Not what I expected
This book may work for some people but not for me.

I give it 2 stars for an enticing table of contents. Read more
Published 10 months ago by Stuart Fogg

5.0 out of 5 stars Perfect for Unix and Linux programmers and collections catering to them
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... Read more
Published 11 months ago by Midwest Book Review

1.0 out of 5 stars Should be titled "IPython for Absolute Beginners"
I agree with the previous reviewer in my disappointment in the lack of practical content for sysadmins. Read more
Published 11 months ago by a reader

1.0 out of 5 stars Example code fails!
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. Read more
Published 13 months ago by Matthew Herzog

4.0 out of 5 stars Covers right topics, writing could be better
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... Read more
Published 13 months ago by Timothy Bower

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Discussion Replies Latest Post
Textbooks for Kindle DX? 61 3 days ago
textbook scam 66 8 days ago
Amazon is a great place to buy textbooks! 35 20 days ago
Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.