A Bash script is a shell script that contains a series of commands for the Bash programming language in Unix and Linux environments. The script is a plain text file that serves much like the script of a play or movie in that it tells the computer what to do and in what order to perform certain tasks. The contents of the script are commands that you can otherwise run on the command line individually—the only difference is that you've combined multiple commands into a single script.