Shell Script is series of command written in a text file. Shell Script is just like batch file is MS-DOS but have more power than the MS-DOS batch file.
Use of Shell Script:
- Combine lengthy and repetitive sequences of commands into a single, simple command.
- Generalize a sequence of operations on one set of data, into a procedure that can be applied to any similar set of data.
- Creates new commands using combinations of utilities in ways the original authors never thought of.
- Simple shell script might be written as shell aliases, but the script can be made available to all users and all processes. Shell aliases apply only to the current shell.
- Create customized datasets on the fly, and call applications.