The classical script

Simple, classical Unix shell scripts are widely used to replace sequences of manual steps in a terminal window
Such scripts are crucial for scientific reliability and human efficiency!
Shell script newbie? Wake up and adapt this example to your projects!
Typical situation in computer simulation:

run a simulation program with some input
run a visualization program and produce graphs
Programs are supposed to run from the command line, with input from files or from command-line arguments
We want to automate the manual steps by a Python script

previousnexttable of contents