What is Shell Script?
A shell script is a small computer program that is executed or executed by the Unix shell, a command line interpreter. A shell script is basically a series of commands that the shell executes in a Unix-based operating system.
As with actual programs, the commands in the shell script can contain parameters and subcommands that tell the shell what to do. The shell script is usually contained in a simple text file.
A shell script is a program that consists of a series of operating system commands that are executed in sequence by the command line interpreter or shell. It's called a shell script because the individual commands are combined into a “script” that the shell follows and executes, much like an actress / actress follows a script written for her.
A shell script is useful for repetitive tasks that become time consuming if typed in manually and then executed one at a time. For example, programmers and developers use shell scripts to automate their code compilation process so that instead of entering a series of long commands, they just run the shell script. This is especially useful to them as they often compile and test code multiple times in a single minute.