Mastering Unix Shell Scripting : Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus

  • ISBN13:


  • ISBN10:


  • Edition: 2nd
  • Format: Paperback
  • Copyright: 2008-06-03
  • Publisher: Wiley

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $75.00 Save up to $18.75
  • Buy Used
    Add to Cart Free Shipping


Supplemental Materials

What is included with this book?


UNIX expert Randal K. Michael guides you through every detail of writing shell scripts to automate specific tasks. Each chapter begins with a typical, everyday UNIX challenge, then shows you how to take basic syntax and turn it into a shell scripting solution. Covering Bash, Bourne, and Korn shell scripting, this updated edition provides complete shell scripts plus detailed descriptions of each part. UNIX programmers and system administrators can tailor these to build tools that monitor for specific system events and situations, building solid UNIX shell scripting skills to solve real-world system administration problems.

Author Biography

Randal K. Michael is a UNIX Systems Administrator working as a contract consultant. He teaches UNIX shell scripting in corporate settings, where he writes shell scripts to address a variety of problems and tasks ranging from monitoring systems to replicating large databases. He has more than 30 years of experience in the industry and 15 years of experience as a UNIX Systems Administrator, working on AIX, HP-UX, Linux, OpenBSD, and Solaris.

Table of Contents

The Basics of Shell Scripting
Scripting Quick Start and Review
24 Ways to Process a File Line-by-Line
Automated Event Notification
Progress Indicators Using a Series of Dots, a Rotating Line, or Elapsed Time
Scripts for Programmers, Testers, and Analysts
Working with Record Files
Automated FTP Stuff
Using rsync to Efficiently Replicate Data
Automating Interactive Programs with Expect and Autoexpect
Finding Large Files and Files of a Specific Type
Process Monitoring and Enabling Pre-Processing, Startup, and Post-Processing Events
Pseudo-Random Number and Data Generation
Creating Pseudo-Random Passwords
Floating-Point Math and the bc Utility
Number Base Conversions
hgrep: Highlighted grep Script
Monitoring Processes and Applications
Scripts for Systems Administrators
Filesystem Monitoring
Monitoring Paging and Swap Space
Monitoring System Load
Monitoring for Stale Disk Partitions (AIX-Specific)
Turning On/Off SSA Identification Lights
Automated Hosts Pinging with Notification of Failure
Creating a System-Configuration Snapshot
Compiling, Installing, Configuring, and Using sudo
Print-Queue Hell: Keeping the Printers Printing
Those Pesky Sarbanes-Oxley (SOX) Audits
Using Dirvish with rsync to Create Snapshot-Type Backups
Monitoring and Auditing User Keystrokes
What's on the Web Site
Table of Contents provided by Publisher. All Rights Reserved.

Rewards Program

Write a Review