This animation demonstrates a bash script which is passed a list of parameters. It uses an if statement to test to see if parameters were provided and if not, outputs an error message, otherwise uses a for loop to add up all of the parameters and compute the sum and then the average of the list.