Mastering Unix Shell Scripting 2nd edition
Samenvatting
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.
- Make the most of Bash, Bourne, and Korn shells
- Execute the proper commands for each UNIX flavor
- Define the correct commands syntax to meet a specific shell scripting goal
- Build options into the shell script to give the end user more flexibiliy on the command line
- Replicate data using rsync
- Create snapshots-style backups using Dirvish
- Work with records files to parse data
- Prepare for government audits using specific commands
Specificaties
Inhoudsopgave
Introduction.
Part 1: The Basics of Shell Scripting.
1. Scripting Quick Start and Review.
2. 24 Ways to Process a File Line-by-Line.
3. Automated Event Notification.
4. Progress Indicators Using a Series of Dots, a Rotating Line, or Elapsed Time.
Part 2: Scripts for Programmers, Testers, and Analysts.
5. Working with Record Files.
6. Automated FTP Stuff.
7. Using rsync to Efficiently Replicate Data.
8. Automating Interactive Programs with Expect and Autoexpect.
9. Finding Large Files and Files of a Specific Type.
10. Process Monitoring and Enabling Pre-Processing, Startup, and Post-Processing Events.
11. Pseudo-Random Number and Data Generation.
12. Creating Pseudo-Random Passwords.
13. Floating-Point Math and the bc Utility.
14. Number Base Conversions.
15. hgrep: Highlighted grep Script.
16. Monitoring Processes and Applications.
Part 3: Scripts for Systems Administrators.
17. Filesystem Monitoring.
18. Monitoring Paging and Swap Space.
19. Monitoring System Load.
20. Monitoring for Stale Disk Partitions (AIX-Specific).
21. Turning On/Off SSA Identification Lights.
22. Automated Hosts Pinging with Notification of Failure.
23. Creating a System-Configuration Snapshot.
24. Compiling, Installing, Configuring, and Using sudo.
25. Print-Queue Hell: Keeping the Printers Printing.
26. Those Pesky Sarbanes-Oxley (SOX) Audits.
27. Using Dirvish with rsync to Create Snapshot-Type Backups.
28. Monitoring and Auditing User Keystrokes.
Appendix A: What's on the Web Site.
Index.
Anderen die dit boek kochten, kochten ook
Net verschenen
Rubrieken
- aanbestedingsrecht
- aansprakelijkheids- en verzekeringsrecht
- accountancy
- algemeen juridisch
- arbeidsrecht
- bank- en effectenrecht
- bestuursrecht
- bouwrecht
- burgerlijk recht en procesrecht
- europees-internationaal recht
- fiscaal recht
- gezondheidsrecht
- insolventierecht
- intellectuele eigendom en ict-recht
- management
- mens en maatschappij
- milieu- en omgevingsrecht
- notarieel recht
- ondernemingsrecht
- pensioenrecht
- personen- en familierecht
- sociale zekerheidsrecht
- staatsrecht
- strafrecht en criminologie
- vastgoed- en huurrecht
- vreemdelingenrecht