All modern operating systems support some kind of command language, which is generally available through the shell. Their functionality varies from system to system. Some operating systems might be powerful enough to be used as a full-fledged script language, while other operating systems support only the minimal syntax that is required to interact with the machine. In this chapter, we will cover the two most common examples: bash scripting for Unix and Linux and batch files for the Windows platform.
Classic shell script languages
Windows batch scripting
The Windows batch scripting language was created mainly to facilitate certain administrative tasks and not to completely replace other full-fledged alternatives. While it supports...