Chapter 1. Getting Started with Shell Scripting
This chapter is a brief introduction to shell scripting. It will assume the reader is mostly familiar with script basics and will serve as a refresher.
The topics covered in this chapter are as follows:
- The general format of a script.
- How to make a file executable.
- Creating a good Usage message and handling return codes.
- Show how to pass parameters from the command line.
- Show how to validate parameters by using conditional statements.
- Explain how to determine the attributes of files.