Shell script (Shell script) work in two ways:
interactive: each user enter a command, and then perform a Shell immediately;
batch: a complete realization of good writing Shell script by the user, Shell will execute the script a lot of one-off The command.