{"product_id":"mastering-unix-shell-scripting-isbn-9780470183014","title":"Mastering Unix Shell Scripting","description":"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. \u003cp\u003eAcknowledgments xxv\u003c\/p\u003e \u003cp\u003eIntroduction xxvii\u003c\/p\u003e \u003cp\u003e\u003cb\u003ePart One The Basics of Shell Scripting\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eChapter 1 Scripting Quick Start and Review 3\u003c\/p\u003e \u003cp\u003eChapter 2 24 Ways to Process a File Line-by-Line 67\u003c\/p\u003e \u003cp\u003eChapter 3 Automated Event Notification 131\u003c\/p\u003e \u003cp\u003eChapter 4 Progress Indicators Using a Series of Dots, a Rotating Line, or Elapsed Time 143\u003c\/p\u003e \u003cp\u003e\u003cb\u003ePart Two Scripts for Programmers, Testers, and Analysts\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eChapter 5 Working with Record Files 157\u003c\/p\u003e \u003cp\u003eChapter 6 Automated FTP Stuff 187\u003c\/p\u003e \u003cp\u003eChapter 7 Using rsync to Efficiently Replicate Data 219\u003c\/p\u003e \u003cp\u003eChapter 8 Automating Interactive Programs with Expect and Autoexpect 291\u003c\/p\u003e \u003cp\u003eChapter 9 Finding Large Files and Files of a Specific Type 325\u003c\/p\u003e \u003cp\u003eChapter 10 Process Monitoring and Enabling Pre-Processing, Startup, and Post-Processing Events 335\u003c\/p\u003e \u003cp\u003eChapter 11 Pseudo-Random Number and Data Generation 369\u003c\/p\u003e \u003cp\u003eChapter 12 Creating Pseudo-Random Passwords 401\u003c\/p\u003e \u003cp\u003eChapter 13 Floating-Point Math and the bc Utility 433\u003c\/p\u003e \u003cp\u003eChapter 14 Number Base Conversions 475\u003c\/p\u003e \u003cp\u003eChapter 15 hgrep: Highlighted grep Script 515\u003c\/p\u003e \u003cp\u003eChapter 16 Monitoring Processes and Applications 527\u003c\/p\u003e \u003cp\u003e\u003cb\u003ePart Three Scripts for Systems Administrators\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eChapter 17 Filesystem Monitoring 553\u003c\/p\u003e \u003cp\u003eChapter 18 Monitoring Paging and Swap Space 603\u003c\/p\u003e \u003cp\u003eChapter 19 Monitoring System Load 641\u003c\/p\u003e \u003cp\u003eChapter 20 Monitoring for Stale Disk Partitions (AIX-Specific) 677\u003c\/p\u003e \u003cp\u003eChapter 21 Turning On\/Off SSA Identification Lights 697\u003c\/p\u003e \u003cp\u003eChapter 22 Automated Hosts Pinging with Notification of Failure 723\u003c\/p\u003e \u003cp\u003eChapter 23 Creating a System-Configuration Snapshot 741\u003c\/p\u003e \u003cp\u003eChapter 24 Compiling, Installing, Configuring, and Using sudo 777\u003c\/p\u003e \u003cp\u003eChapter 25 Print-Queue Hell: Keeping the Printers Printing 809\u003c\/p\u003e \u003cp\u003eChapter 26 Those Pesky Sarbanes-Oxley (SOX) Audits 851\u003c\/p\u003e \u003cp\u003eChapter 27 Using Dirvish with rsync to Create Snapshot-Type Backups 867\u003c\/p\u003e \u003cp\u003eChapter 28 Monitoring and Auditing User Keystrokes 935\u003c\/p\u003e \u003cp\u003eAppendix A What’s on the Web Site 955\u003c\/p\u003e \u003cp\u003eIndex 977\u003c\/p\u003e \u003cb\u003eRandal K. Michael\u003c\/b\u003e 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.  \u003cb\u003eLearn to create shell scripts to solve real-world UNIX problems\u003c\/b\u003e  \u003cp\u003eGet 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.\u003c\/p\u003e \u003cul\u003e \u003cli\u003e \u003cp\u003eMake the most of Bash, Bourne, and Korn shells\u003c\/p\u003e \u003c\/li\u003e \u003cli\u003e \u003cp\u003eExecute the proper commands for eachUNIX flavor\u003c\/p\u003e \u003c\/li\u003e \u003cli\u003e \u003cp\u003eDefine the correct command syntax to meet a specific shell scripting goal\u003c\/p\u003e \u003c\/li\u003e \u003cli\u003e \u003cp\u003eFilter the commands' output to strip out unneeded data\u003c\/p\u003e \u003c\/li\u003e \u003cli\u003e \u003cp\u003eBuild options into the shell script to give the end user more flexibility on the command line\u003c\/p\u003e \u003c\/li\u003e \u003cli\u003e \u003cp\u003eReplicate data using rsync\u003c\/p\u003e \u003c\/li\u003e \u003cli\u003e \u003cp\u003eCreate snapshot-style backups using Dirvish\u003c\/p\u003e \u003c\/li\u003e \u003cli\u003e \u003cp\u003eWork with records files to parse data\u003c\/p\u003e \u003c\/li\u003e \u003cli\u003e \u003cp\u003ePrepare for government audits using specific commands\u003c\/p\u003e \u003c\/li\u003e \u003c\/ul\u003e","brand":"Wiley","offers":[{"title":"Default Title","offer_id":47989582102757,"sku":"NP9780470183014","price":75.0,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1842\/7735\/files\/9780470183014.jpg?v=1761784687","url":"https:\/\/k12savings.com\/products\/mastering-unix-shell-scripting-isbn-9780470183014","provider":"K12savings","version":"1.0","type":"link"}