Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now imagine you have to run the “Hello World” command or something much more complex a thousand times. Nobody wants to type that simple text string a thousand times. Let’s write a batch script to do that for us (if you’re unfamiliar with shell scripting or working with the command line, see <link> The Command Line Interface for more information):

#!/bin/bash
#SBATCH --account=<insert the name of your project>
#SBATCH --time=00:01:00
echo "Hello World!"

...