Scripts are collections of commands that are stored in a file. The shell can read this file and act on the commands as if they were typed at the keyboard.
linuxcommand.org