Chapter 12. Shell Scripting and Programming
Chapters 10 and 11 explained how to interact with Linux at the command prompt. This interaction took place one command at a time, with commands processed as soon as you pressed the Enter key.
This chapter shows you the next step: how to schedule commands for processing in the future and how to batch commands together in scripts for processing. These commands are called shell scripts because they use the syntax and language built into Linux's bash shell. The analogy in the Microsoft Windows world is to DOS batch files—but shell scripts are more powerful and easier to write. You can think of shell scripts as comprising an extended macro language that works with the operating system.
In this chapter, ...
Get Red Hat Linux 6: Visual QuickPro Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.