In computer applications, a script, roughly speaking, is a computer program that automates the sort of task that a user might otherwise do interactively at the keyboard. A shell script often consists largely of the sort of commands that might be typed at a command prompt, or in a word processing program a user might write a script that would combine a sequence of editing tasks that the user expects to perform repeatedly. Languages that are largely used to write such scripts are called scripting languages. Many such languages are quite sophisticated, and have been used to write elaborate programs, which are often still called scripts even if they go well beyond automating simple sequences of user tasks.
Scripting languages (commonly called scriptingprogramming languages or script languages) are computerprogramming languages initially designed for "scripting" the operations of a computer.
One way of looking at scripts is as "glue" that puts several components together; thus they are widely used for creating graphical user interfaces or executing a series of commands that might otherwise have to be entered interactively through keyboard at the command prompt.
Scripting languages are often designed for interactive use, having many commands that can execute individually, and often have very high level operations (for example, in the classic UNIX shell (sh), most operations are programs themselves).