Chapter 33. Writing and Executing a Shell Script

<feature><title>In This Chapter</title> <objective>

Running a Shell Program

</objective>
<objective>

Interpreting Shell Scripts Through Specific Shells

</objective>
<objective>

Using Variables in Shell Scripts

</objective>
<objective>

Using a Simple Script to Automate Tasks

</objective>
<objective>

Built-in Variables

</objective>
<objective>

Special Characters

</objective>
<objective>

Comparison of Expressions in pdksh and bash

</objective>
<objective>

Special Statements: for, while, and Others

</objective>
<objective>

Using Functions in Shell Scripts

</objective>
<objective>

Reference

</objective>
</feature>

Why should you write and use shell scripts? Shell scripts can save you time and typing, especially if you routinely ...

Get Fedora™ 7 Unleashed 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.