My Account Log in

1 option

Python for Unix and Linux system administration / Noah Gift and Jeremy M. Jones.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Gift, Noah.
Contributor:
Jones, Jeremy.
Language:
English
Subjects (All):
Linux.
UNIX (Computer file).
Python (Computer program language).
Physical Description:
1 online resource (458 p.)
Edition:
1st edition
Place of Publication:
Sebastopol, California : O'Reilly, 2008.
Language Note:
English
System Details:
text file
Summary:
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-l
Contents:
Table of Contents; Foreword; Preface; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Noah's Acknowledgments; Jeremy's Acknowledgments; Chapter 1. Introduction; Why Python?; Motivation; The Basics; Executing Statements in Python; Summary; Using Functions in Python; Reusing Code with the Import Statement; Chapter 2. IPython; Installing IPython; Basic Concepts; Interacting with IPython; Tab Completion; Magic Edit; Configuring IPython; Help with Magic Functions; Unix Shell; alias; Shell Execute; rehash; rehashx; cd; bookmark; dhist
pwdVariable Expansion; String Processing; sh Profile; Information Gathering; page; pdef; pdoc; pfile; pinfo; psource; psearch; who; who_ls; whos; History; Readline support; hist command; History results; Automation and Shortcuts; alias; macro; store; reset; run; save; rep; Summary; Chapter 3. Text; Python Built-ins and Modules; str; Creating strings; Built-in methods for str data extraction; Unicode strings; re; Apache Config File Hacking; Working with Files; Creating files; Reading files; Writing files; Additional resources; Standard Input and Output; StringIO; urllib; Log Parsing
ElementTreeSummary; Chapter 4. Documentation and Reporting; Automated Information Gathering; Receiving Email; Manual Information Gathering; Information Formatting; Graphical Images; PDFs; Information Distribution; Sending Email; Sending basic messages; Using SMTP authentication; Sending attachments with Python; Trac; Summary; Chapter 5. Networking; Network Clients; socket; httplib; ftplib; urllib; urllib2; Remote Procedure Call Facilities; XML-RPC; Pyro; SSH; Twisted; Scapy; Creating Scripts with Scapy; Chapter 6. Data; Introduction; Using the OS Module to Interact with Data
Copying, Moving, Renaming, and Deleting DataWorking with Paths, Directories, and Files; Comparing Data; Using the filecmp Module; Using os.list; Merging Data; MD5 Checksum Comparisons; Pattern Matching Files and Directories; Wrapping Up rsync; Metadata: Data About Data; Archiving, Compressing, Imaging, and Restoring; Using tarfile Module to Create TAR Archives; Using a tarfile Module to Examine the Contents of TAR Files; Chapter 7. SNMP; Introduction; Brief Introduction to SNMP; SNMP Overview; SNMP Installation and Configuration; IPython and Net-SNMP; Discovering a Data Center
Retrieving Multiple-Values with Net-SNMPFinding Memory; Creating Hybrid SNMP Tools; Extending Net-SNMP; SNMP Device Control; Enterprise SNMP Integration with Zenoss; Zenoss API; Using Zendmd; Device API; Chapter 8. OS Soup; Introduction; Cross-Platform Unix Programming in Python; Using SSH Keys, NFS-Mounted Source Directory, and Cross-Platform Python to Manage Systems; Creating a Cross-Platform, Systems Management Tool; Creating a Cross-Platform Build Network; PyInotify; OS X; Scripting DSCL or Directory Services Utility; OS X Scripting APIs; Automatically Re-Imaging Machines
Managing Plist Files from Python
Notes:
Includes index.
Description based on print version record.
ISBN:
9781449367183
1449367186
9780596154974
0596154976
OCLC:
775300465

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account