A task can be “scripted” by creating a file known as a script with a sequential list of commands for a shell or programming language interpreter to use in order to complete said task.
Often, scripts are trivial in nature, but they can also be quite large and complex.