a script is a text file containing an imperative description of the computer's
imparted behaviour, as desired and designed. this is an aspect of programming.
usually automating some task is one of the main benefits of scripting the shell vs typing repetitively in the shell.