Bourne Shell Scripting
Programming languages bookshelf
Hi there! Welcome to this Wikibook on the wondrous world of the Bourne Shell!
This book will cover the practical aspects of using and interacting with the Bourne Shell, the root of all shells in use in the world. That includes interacting with the shell on a day-to-day basis for the purposes of operating the computer in normal tasks, as well as grouping together commands in files (scripts) which can be run over and over again. Since it's not practical to talk about the Bourne Shell in complete isolation, it also means some short jaunts into the wondrous world of Unix; not far, just enough to understand what is going on and be able to make full use of the shell's very wide capabilities.
There are also some things this book won't do for you. This book is not an in-depth tutorial on any kind of programming theory -- you won't learn the finer points of program construction and derivation or the mathematical backings of program development here. This book also won't teach you about or any other type of Unix or Unix itself or any other operating system any more than is necessary to teach you how to use the shell. Nothing to be found here about, joe, vi, or any other specific program. No firewalls or networking either.
We will cover the Bourne Shell, beginning with the basic functionality and capabilities the shell was first released with, through to the added functionality specified by the international POSIX standard POSIX 1003.1 for this shell. We will have to give you some programming knowledge, but we hope that everyone will readily understand the few simple concepts we explain.
Having said that, the authors hope you will find this book a valuable resource for learning to use the shell and for using the shell on a regular basis. And that you might even have some fun along the way.
Chapters
- /Comparing Shells/ The Bourne Shell versus other shells (or: why the Bourne Shell?)
- /Running Commands/ How to execute commands in the Bourne Shell
- /Environment/ The Bourne Shell environment (and how it relates to multiprocessing)
- /Redirection/ The (standard) ins and (standard) outs of what to do with your pipe...
- /Test Program/ Test: a useful external program
- /Substitution/ Embedding values of parameters and results of other commands
- /Loops/ Repeatedly running commmands from the interactive shell
- /Modularization/ Programming in blocks -- and having them interact
- /Parameters/ Shell settings and debuggings
- Cookbook
External Links
|