I decided to write a few test scripts using bash to show how it all works ... I decided to write two shell scripts. One will generate an image file. I cheated in two ways there.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results