Introducing Shell Scripting

On SUSE Linux Enterprise Server, many tasks are automated with shell scripts. For example, the entire start-up procedure consists of shell scripts. For an administrator, it is useful to know how to do some shell scripting yourself. Therefore, in this chapter, you'll get an introduction to shell scripting. After a short introduction, you'll learn about the most important components you'll see in most shell scripts, such as variables and parameters, iterations, functions, and some basic calculations. This chapter is meant to give a basic overview of the way a shell script is organized and should help you write a simple shell script. But it is in no way meant to be a complete tutorial that covers all the elements you can use in a script. For that kind of information, see From Bash to Z Shell, by Kiddle, Peek, and Stephenson. (Apress, 2004).

Was this article helpful?

0 0

Post a comment