Beginning Shell Scripting
- Covering all major platforms-Linux, Unix, Mac OS X, and Windows-this guide shows programmers and power users how to customize an operating system, automate commands, and simplify administration tasks using shell scripts
- Offers complete shell-scripting instructions, robust code examples, and full scripts for OS customization
- Covers shells as a user interface, basic scripting techniques, script editing and debugging, graphing data, and simplifying administrative tasks
- In addition to Unix and Linux scripting, the book covers the latest Windows scripting techniques and offers a complete tutorial on Mac OS X scripting, including detailed coverage of mobile file systems, legacy applications, Mac text editors, video captures, and the Mac OS X Open Scripting Architecture
Chapter 1: Introducing Shells.
Chapter 2: Introducing Shell Scripts.
Chapter 3: Controlling How Scripts Run.
Chapter 4: Interacting with the Environment.
Chapter 5: Scripting with Files.
Chapter 6: Processing Text with sed.
Chapter 7: Processing Text with awk.
Chapter 8: Creating Command Pipelines.
Chapter 9: Controlling Processes.
Chapter 10: Shell Scripting Functions.
Chapter 11: Debugging Shell Scripts.
Chapter 12: Graphing Data with MRTG.
Chapter 13: Scripting for Administrators.
Chapter 14: Scripting for the Desktop.
Appendix A: Answers to Exercises.
Appendix B: Useful Commands.
John C. Welch (Boston, MA) has more than ten years of Mac experience in the trenches of the IT world. He packs the hall at Macworld Expo where he’s a regular speaker, sharing his experiences and knowledge on using Macs effectively in business and enterprise IT environments. John’s articles are frequently featured in MacTech Magazine and WorkingMac.com, and he is semi-regularly featured on The Mac Show conducting interviews with the geekier side of the Mac community. He’s recently been touring the country presenting seminars on Mac OS X administration to IT professionals from coast to coast.
Micah Anderson has been a Unix system administrator for more than a decade. He is a Debian GNU/Linux developer and works as an independent consultant building alternative communication infrastructure and supporting the technology needs of positive grassroots alternatives.