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
Mastering unix shell scripting: bash, bourne, and korn shell scripting for programmers, system administrators, and unix gurus
โ Scribed by Michael, Randal K
- Publisher
- Wiley
- Year
- 2013;2008
- Tongue
- English
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
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.;""Title Page""; ""Copyright""; ""Dedication""; ""About the Author""; ""Credits""; ""Acknowledgments""; ""Introduction""; ""Overview of the Book and Technology""; ""How This Book Is Organized""; ""Who Should Read this Book""; ""Tools You Will Need""; ""What's on the Web Site""; ""Summary""; ""Part I: The Basics of Shell Scripting""; ""Chapter 1: Scripting Quick Start and Review""; ""Case Sensitivity""; ""UNIX Special Characters""; ""Shells""; ""Shell Scripts""; ""Functions""; ""Running a Shell Script""; ""Comments and Style in Shell Scripts""; ""Control Structures""
โฆ Table of Contents
""Title Page""
""Copyright""
""Dedication""
""About the Author""
""Credits""
""Acknowledgments""
""Introduction""
""Overview of the Book and Technology""
""How This Book Is Organized""
""Who Should Read this Book""
""Tools You Will Need""
""What's on the Web Site""
""Summary""
""Part I: The Basics of Shell Scripting""
""Chapter 1: Scripting Quick Start and Review""
""Case Sensitivity""
""UNIX Special Characters""
""Shells""
""Shell Scripts""
""Functions""
""Running a Shell Script""
""Comments and Style in Shell Scripts""
""Control Structures"" ""Using break, continue, exit, and return""""Here Document""
""Shell Script Commands""
""Symbol Commands""
""Variables""
""Command-Line Arguments""
""shift Command""
""Special Parameters * and @""
""Double Quotes, Forward Tics, and Back Tics""
""Using awk on Solaris""
""Using the echo Command Correctly""
""Math in a Shell Script""
""Built-In Mathematical Functions""
""File Permissions, suid and sgid Programs""
""Running Commands on a Remote Host""
""Setting Traps""
""User-Information Commands""
""ps Command""
""Communicating with Users"" ""Uppercase or Lowercase Text for Easy Testing""""Check the Return Code""
""Time-Based Script Execution""
""Output Control""
""Catching a Delayed Command Output""
""Fastest Ways to Process a File Line-by-Line""
""Using Command Output in a Loop""
""Mail Notification Techniques""
""Creating a Progress Indicator""
""Working with Record Files""
""Creating a Pseudo-Random Number""
""Checking for Stale Disk Partitions in AIX""
""Automated Host Pinging""
""Highlighting Specific Text in a File""
""Keeping the Printers Printing""
""Automated FTP File Transfer"" ""Using rsync to Replicate Data""""Capturing a List of Files Larger than MEG""
""Capturing a User's Keystrokes""
""Using the bc Utility for Floating-Point Math""
""Number Base Conversions""
""Create a Menu with the select Command""
""Removing Repeated Lines in a File""
""Removing Blank Lines from a File""
""Testing for a Null Variable""
""Directly Access the Value of the Last Positional Parameter, #""
""Remove the Column Headings in a Command Output""
""Arrays""
""Testing a String""
""Summary""
""Chapter 2: 24 Ways to Process a File Line-by-Line""
""Command Syntax"" ""24 Methods to Parse a File Line-by-Line""""Timing Each Method""
""What about Using Command Input Instead of File Input?""
""Summary""
""Lab Assignments""
""Chapter 3: Automated Event Notification""
""Basics of Automating Event Notification""
""Problems with Outbound Mail""
""Dial-Out Modem Software""
""SNMP Traps""
""Summary""
""Lab Assignments""
""Chapter 4: Progress Indicators Using a Series of Dots, a Rotating Line, or Elapsed Time""
""Indicating Progress with a Series of Dots""
""Indicating Progress with a Rotating Line""
""Indicating Progress with Elapsed Time""
โฆ Subjects
COMPUTERS--Software Development & Engineering--General;Computers;Electronic books;COMPUTERS -- Software Development & Engineering -- General
๐ SIMILAR VOLUMES
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 s
* 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, pre
Unix Shell Scripting 2nd edition is a practical reference book to UNIX shell scripting. There are 954 pages committed to various scripts appropriate for any type of production environment: research, banking, web hosting, personal, security or system administration. Each script is well written. His s
Acknowledgments. Introduction. Part One: The Basics of Shell Scripting. Chapter 1: Scripting Quick Start and Review. Chapter 2: 24 Ways to Process a File Line-by-Line. Chapter 3: Automated Event Notification. Chapter 4: Progress Indicators Using a Series of Dots, a Rotating Line, or Elapsed Time.