Zum Hauptinhalt springen
Dekorationsartikel gehören nicht zum Leistungsumfang.
Mastering UNIX Shell Scripting
Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus
Taschenbuch von Randal K Michael
Sprache: Englisch

81,55 €*

inkl. MwSt.

Versandkostenfrei per Post / DHL

Lieferzeit 1-2 Wochen

Kategorien:
Beschreibung
Learn to create shell scripts to solve real-world UNIX problems

Get ready to take on the UNIX world! 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, and then shows you how to take basic syntax and turn it into a shell scripting solution. Throughout the book, you'll also find complete shell scripts plus detailed descriptions of each part. You'll be able to modify this information to build tools that monitor for specific system events and situations, building the skills to solve real-world system administration problems.
*

Make the most of Bash, Bourne, and Korn shells
*

Execute the proper commands for eachUNIX flavor
*

Define the correct command syntax to meet a specific shell scripting goal
*

Filter the commands' output to strip out unneeded data
*

Build options into the shell script to give the end user more flexibility on the command line
*

Replicate data using rsync
*

Create snapshot-style backups using Dirvish
*

Work with records files to parse data
*

Prepare for government audits using specific commands
Learn to create shell scripts to solve real-world UNIX problems

Get ready to take on the UNIX world! 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, and then shows you how to take basic syntax and turn it into a shell scripting solution. Throughout the book, you'll also find complete shell scripts plus detailed descriptions of each part. You'll be able to modify this information to build tools that monitor for specific system events and situations, building the skills to solve real-world system administration problems.
*

Make the most of Bash, Bourne, and Korn shells
*

Execute the proper commands for eachUNIX flavor
*

Define the correct command syntax to meet a specific shell scripting goal
*

Filter the commands' output to strip out unneeded data
*

Build options into the shell script to give the end user more flexibility on the command line
*

Replicate data using rsync
*

Create snapshot-style backups using Dirvish
*

Work with records files to parse data
*

Prepare for government audits using specific commands
Über den Autor
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.
Inhaltsverzeichnis

Acknowledgments xxv

Introduction xxvii

Part One The Basics of Shell Scripting

Chapter 1 Scripting Quick Start and Review 3

Chapter 2 24 Ways to Process a File Line-by-Line 67

Chapter 3 Automated Event Notification 131

Chapter 4 Progress Indicators Using a Series of Dots, a Rotating Line, or Elapsed Time 143

Part Two Scripts for Programmers, Testers, and Analysts

Chapter 5 Working with Record Files 157

Chapter 6 Automated FTP Stuff 187

Chapter 7 Using rsync to Efficiently Replicate Data 219

Chapter 8 Automating Interactive Programs with Expect and Autoexpect 291

Chapter 9 Finding Large Files and Files of a Specific Type 325

Chapter 10 Process Monitoring and Enabling Pre-Processing, Startup, and Post-Processing Events 335

Chapter 11 Pseudo-Random Number and Data Generation 369

Chapter 12 Creating Pseudo-Random Passwords 401

Chapter 13 Floating-Point Math and the bc Utility 433

Chapter 14 Number Base Conversions 475

Chapter 15 hgrep: Highlighted grep Script 515

Chapter 16 Monitoring Processes and Applications 527

Part Three Scripts for Systems Administrators

Chapter 17 Filesystem Monitoring 553

Chapter 18 Monitoring Paging and Swap Space 603

Chapter 19 Monitoring System Load 641

Chapter 20 Monitoring for Stale Disk Partitions (AIX-Specific) 677

Chapter 21 Turning On/Off SSA Identification Lights 697

Chapter 22 Automated Hosts Pinging with Notification of Failure 723

Chapter 23 Creating a System-Configuration Snapshot 741

Chapter 24 Compiling, Installing, Configuring, and Using sudo 777

Chapter 25 Print-Queue Hell: Keeping the Printers Printing 809

Chapter 26 Those Pesky Sarbanes-Oxley (SOX) Audits 851

Chapter 27 Using Dirvish with rsync to Create Snapshot-Type Backups 867

Chapter 28 Monitoring and Auditing User Keystrokes 935

Appendix A What's on the Web Site 955

Index 977

Details
Erscheinungsjahr: 2008
Fachbereich: Programmiersprachen
Genre: Informatik
Rubrik: Naturwissenschaften & Technik
Medium: Taschenbuch
Inhalt: 1040 S.
ISBN-13: 9780470183014
ISBN-10: 0470183012
Sprache: Englisch
Herstellernummer: 14518301000
Einband: Kartoniert / Broschiert
Autor: Michael, Randal K
Auflage: 2nd edition
Hersteller: Wiley
John Wiley & Sons
Maße: 235 x 191 x 55 mm
Von/Mit: Randal K Michael
Erscheinungsdatum: 01.04.2008
Gewicht: 1,885 kg
Artikel-ID: 101893893
Über den Autor
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.
Inhaltsverzeichnis

Acknowledgments xxv

Introduction xxvii

Part One The Basics of Shell Scripting

Chapter 1 Scripting Quick Start and Review 3

Chapter 2 24 Ways to Process a File Line-by-Line 67

Chapter 3 Automated Event Notification 131

Chapter 4 Progress Indicators Using a Series of Dots, a Rotating Line, or Elapsed Time 143

Part Two Scripts for Programmers, Testers, and Analysts

Chapter 5 Working with Record Files 157

Chapter 6 Automated FTP Stuff 187

Chapter 7 Using rsync to Efficiently Replicate Data 219

Chapter 8 Automating Interactive Programs with Expect and Autoexpect 291

Chapter 9 Finding Large Files and Files of a Specific Type 325

Chapter 10 Process Monitoring and Enabling Pre-Processing, Startup, and Post-Processing Events 335

Chapter 11 Pseudo-Random Number and Data Generation 369

Chapter 12 Creating Pseudo-Random Passwords 401

Chapter 13 Floating-Point Math and the bc Utility 433

Chapter 14 Number Base Conversions 475

Chapter 15 hgrep: Highlighted grep Script 515

Chapter 16 Monitoring Processes and Applications 527

Part Three Scripts for Systems Administrators

Chapter 17 Filesystem Monitoring 553

Chapter 18 Monitoring Paging and Swap Space 603

Chapter 19 Monitoring System Load 641

Chapter 20 Monitoring for Stale Disk Partitions (AIX-Specific) 677

Chapter 21 Turning On/Off SSA Identification Lights 697

Chapter 22 Automated Hosts Pinging with Notification of Failure 723

Chapter 23 Creating a System-Configuration Snapshot 741

Chapter 24 Compiling, Installing, Configuring, and Using sudo 777

Chapter 25 Print-Queue Hell: Keeping the Printers Printing 809

Chapter 26 Those Pesky Sarbanes-Oxley (SOX) Audits 851

Chapter 27 Using Dirvish with rsync to Create Snapshot-Type Backups 867

Chapter 28 Monitoring and Auditing User Keystrokes 935

Appendix A What's on the Web Site 955

Index 977

Details
Erscheinungsjahr: 2008
Fachbereich: Programmiersprachen
Genre: Informatik
Rubrik: Naturwissenschaften & Technik
Medium: Taschenbuch
Inhalt: 1040 S.
ISBN-13: 9780470183014
ISBN-10: 0470183012
Sprache: Englisch
Herstellernummer: 14518301000
Einband: Kartoniert / Broschiert
Autor: Michael, Randal K
Auflage: 2nd edition
Hersteller: Wiley
John Wiley & Sons
Maße: 235 x 191 x 55 mm
Von/Mit: Randal K Michael
Erscheinungsdatum: 01.04.2008
Gewicht: 1,885 kg
Artikel-ID: 101893893
Warnhinweis

Ähnliche Produkte

Ähnliche Produkte