Scripting

Contents

Scripting#

Instead of giving all commands on after another to the interpreter, they can put into a file an executed as a whole. This way many tasks could be easy and conveniently automated. Even complete complete programs realized if necessary. This is much more lightweight than using any other compiled language.

Bash provides a range of typical control structures as conditional branching and loops. Even functions and arrays are supported to some extent.

Index#