A shell script is a file containing a list of commands. Similar to a batch file in DOS/Windows, but much more powerful. The shell ('nix command-line interpreter) reads this file and carries out the commands. Typical operations performed by shell scripts include file manipulation, program execution, and printing text.
Using shell scripts allows for dynamic commands and tasks to be automated. These can be run manually or automated to run at specified times. And because the scripts are clear-text they can be created using a plain text editor of your choice and don't require compiling before use.
These scripts originally appeared at..