All Code Ocean capsules come with a run.sh  script by default. Browsing Code Ocean's Explore page, you will see that many capsules retain some version of this file adapted to each capsule. These are shell scripts, typically written in Bash. Shell scripts execute system-level operations and are one of the most important tools in a programmer's arsenal. 

On Code Ocean, shell scripts most commonly are used to call analytic scripts in sequence. Shell scripts are also necessary for providing command line inputs, which underpin every Code Ocean interface.  Lastly, shell scripts provide useful commands for moving and saving files, such as creating symbolic links between folders.

Learning to write shell scripts is likely to be time well spent. Software Carpentry provides an excellent course on their many use cases. Their course on automation and make may also be of interest.

Did this answer your question?