Mastering Unix Shell Scripting and over one million other books are available for Amazon Kindle. Learn more

Kindle Edition
 
   
Have one to sell? Sell yours here
Mastering Unix Shell Scripting
 
 
Start reading Mastering Unix Shell Scripting on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Mastering Unix Shell Scripting [Paperback]

Randal K. Michael (Author)
4.4 out of 5 stars  See all reviews (21 customer reviews)


Available from these sellers.


Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $22.54  
Paperback $40.66  
Paperback, January 31, 2003 --  
There is a newer edition of this item:
Mastering Unix Shell Scripting: Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus Mastering Unix Shell Scripting: Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus 4.4 out of 5 stars (21)
$40.66
In Stock.

Book Description

0471218219 978-0471218210 January 31, 2003 1
  • Provides readers with end-to-end shell scripts that can be used to automate repetitive tasks and solve real-world system administration problems
  • Targets the specific command structure for four popular UNIX systems: Solaris, Linux, AIX, and HP-UX
  • Illustrates dozens of example tasks, presenting the proper command syntax and analyzing the performance gain or loss using various control structure techniques
  • Web site includes all the shell scripts used in the book


Editorial Reviews

From the Back Cover

Discover how to solve real-world system administration problems with this collection of end-to-end shell scripts

This comprehensive book takes you step-by-step through the process of writing shell scripts to solve real-world Unix problems and tasks. Each chapter begins by presenting a typical Unix challenge that you'll most likely experience at your job. With each challenge, you'll learn how to identify a specific goal and start the shell script by defining the correct command syntax to solve the problem. You'll find out how to build the shell script around the commands, filter the commands output to strip out the unneeded data, and add options that give users more flexibility on the command line.

The approach used will teach you how to attack problems logically. It will also empower you to take the basic command syntax and turn it into a shell scripting solution.

Throughout the book, you'll find end-to-end shell scripts that you can use to automate repetitive tasks and solve real-world system administration problems. These tasks include:
* Communications such as automated event notification, monitoring processes locally and on remote systems, and automated FTP file transfers
* Information gathering and monitoring for file systems, paging/swap space, system load, applications, processes, and capturing the system's configuration
* Print queue management to keep the printers printing
* Floating point mathematics in shell scripts using the bc utility

The companion Web site contains all of the shell scripts and most of the functions that are discussed in the book as well as bonus shell scripts for various tasks.

About the Author

RANDAL K. MICHAEL is a Unix Systems Administrator at Coca-Cola Enterprises, Inc., where he writes shell scripts to address complex monitoring and event notification issues. He has more than 23 years of industry experience and 10 years of experience as a Unix Systems Administrator, working with Solaris, Linux, AIX, and HP-UX.

Product Details

  • Paperback: 640 pages
  • Publisher: Wiley; 1 edition (January 31, 2003)
  • Language: English
  • ISBN-10: 0471218219
  • ISBN-13: 978-0471218210
  • Product Dimensions: 9 x 7.4 x 1.4 inches
  • Shipping Weight: 2.2 pounds
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (21 customer reviews)
  • Amazon Best Sellers Rank: #1,081,910 in Books (See Top 100 in Books)

More About the Author

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

 

Customer Reviews

21 Reviews
5 star:
 (12)
4 star:
 (6)
3 star:
 (2)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.4 out of 5 stars (21 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

79 of 88 people found the following review helpful:
3.0 out of 5 stars Exclusively KORN shell, October 15, 2003
Amazon Verified Purchase(What's this?)
This review is from: Mastering Unix Shell Scripting (Paperback)
If you are interested in Bourne or Bash shell programming, be aware that this book focuses exclusively on the Korn shell (ksh or "ksh93"). The Korn shell is a superset of the Bourne shell, but if you want to write scripts for sh (Bourne) or bash, another book might be more appropriate.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


15 of 15 people found the following review helpful:
4.0 out of 5 stars A must-have for all levels of *nix users., August 1, 2004
By 
Bindlestiff (rixtertech.com) - See all my reviews
Amazon Verified Purchase(What's this?)
This review is from: Mastering Unix Shell Scripting (Paperback)
The breadth of real-world examples make the difference between this book and most reference texts. It's true that it's written for korn, but I've had little trouble adapting for Bash; many of the scripts run almost unchanged and the ones that don't provide a useful opportunity for exercise in adaptation. The authors prose is clear. His attitude is a bit challenging; he says early on that that his intention is to teach you how to -solve problems- by shell scripting, NOT to present a ream of canned solutions. This is NOT a reference text for any particular shell, you'll still need plenty of O'Reilly books, a web browser & etc.

This book has enabled me to write a major project using scripting as the glue to hold together a hefty mass of file-moving daemons, fax/paging engines, python UI code, PostGreSQL database engine, networking/email, SSH, and Expect scripts on a Gnu Linux platform. I absolutely could not have done it without this book and I'm very grateful to Mr Michael for his work. If a later edition could more closely serve the needs of the masses by presenting more Bash examples and maybe throwing in a CD it would be a 5-star text.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


17 of 18 people found the following review helpful:
4.0 out of 5 stars The best in the shelf, May 31, 2004
By 
Sanjoy Basu (Northglenn, CO United States) - See all my reviews
This review is from: Mastering Unix Shell Scripting (Paperback)
Mastering UNIX Shell Scripting is a must for all Unix Administrator. The beauty of this book is it teaches shell script with practical examples which are required in day to day life of a System Admin. Unlike many shell scripting book it just not talks about syntax but also explains whats happening behind the curtain.
Inspite of all praises the reason for giving 4 stars is due to the fact that its not meant for beginners. For serious shell script writers this book deserve 5 star rating
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

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











Only search this product's reviews



Inside This Book (learn more)
First Sentence:
We are going to start out by giving a very targeted refresher course. Read the first page
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
shell script listing, ksh shell script, stale partitions, proc watch, cron table entry, smbclient command, twirl function, using command substitution, uptime output, tput smso, tput rmso, files and variables here, esac listing, getopts command, filesystem monitoring, root cron table, paging space used, uptime command output, grep statement, double parentheses method, function usage echo, visudo editor, full filesystems, usage exit, calling shell script
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Randy Michael, Device Specific, Swap Space Used, Physical Disk Drive, Systems Administrator, Lights Either, Tue May, Printing Restarted, Iused Mounted, Average Average, Donald Duck, Linux Only, Paging Stat, Send This Message, Yogi Bear, Asynchronous Terminal, Filesystem Column, Free Used Iused, More Filenames, Serial Port, Tape Drive, Thu Sep, All Events, Begin of Main, Comment Out the Above
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

Citations (learn more)
2 books cite this book:


Books on Related Topics (learn more)

What Other Items Do Customers 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.
 
(2)

Your tags: Add your first tag
 

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
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject