Chapter 18

Introducing Bash Shell Scripting

Topics covered in this chapter:

  • Getting Started
  • Working with Variables and Input
  • Performing Calculations
  • Using Control Structures

Once you are at ease working with the command line, you'll want more. You already learned how to combine commands using piping, but if you really want to get the best from your commands, there is much more you can do. In this chapter, you'll be introduced to the possibilities of Bash shell scripting, which helps you accomplish difficult tasks easily. Once you have a firm grasp of shell scripting, you'll be able to automate many tasks and thus be able to complete your work more than twice as fast as you could before.

Getting Started

A shell script is a text file that contains ...

Get Red Hat Enterprise Linux 6 Administration: Real World Skills for Red Hat Administrators now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.