In computer programs and scripts while is generally an instruction which initiates a loop which continues as long as the statement following the command returns the value true.