Résumé
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.
- Introduction
- Scripting Quick Start and Review
- Twelve Ways to Process a File Line by Line
- Automated Event Notification
- Progress Indicator Using a Series of Dots, a Rotating Line, or a Countdown to Zero
- File System Monitoring
- Monitoring Paging and Swap Space
- Monitoring System Load
- Process Monitoring and Enabling Preprocess, Startup, and Postprocess Events
- Monitoring Processes and Applications
- Creating Pseudo-Random Passwords
- Monitor for Stale Disk Partitions
- Automated Hosts Pinging with Notification
- Taking a System Snapshot
- Compiling, Installing, Configuring, and Using sudo
- hgrep: Highlighted grep Script
- Print Queue Hell: Keeping the Printers Printing
- Automated FTP Stuff
- Finding "Large" Files
- Monitoring and Auditing User Key Strokes
- Turning On/Off SSA Identification Lights
- Pseudo-Random Number Generation
- Floating-Point Math and the bc Utility
- Scripts for Number Base Conversions
- M enu Program Suitable for Operations Staff
- Sending Pop-Up Messages from Unix to Windows
- Appendix A: What's on the Web Site
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Wiley |
Auteur(s) | Randall K. Michael |
Parution | 18/03/2003 |
Nb. de pages | 680 |
Format | 18,5 x 23,5 |
Couverture | Broché |
Poids | 1030g |
Intérieur | Noir et Blanc |
EAN13 | 9780471218210 |
ISBN13 | 978-0-471-21821-0 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse