Overview
If you have a supercomputing allocation, then your workflow will involve some of these steps.
The first is how do you perform authentication in the context of a (non-interactive) submitted job - use the delegate command.
pshell can be then run from the command line to perform stand alone commands.
It can also be given a script containing any number of commands that will be executed sequentially.
Exercises
create a delegate and check that pshell is using it.
script a task to download a file in your directory.
bash script a task that attempts to perform something illegal (eg remove directory www) and correctly report that the script encountered an error