...
Expand | ||
---|---|---|
| ||
pshell login sean ???? delegate exit pshell whoami |
Exercise - script a task to download a file in your directory.
Expand | ||
---|---|---|
| ||
pshell -i script1.txt With the Create a plain text file script1.txt created containing:
pshell -i script1.txt |
Exercise - bash script a task that attempts to perform something illegal (eg remove directory www) and correctly report that the script encountered an error
Expand | ||
---|---|---|
| ||
Run the following script if you have bash ... sorry Windows users (without WSL.)
This would typically be a job script on (eg) Pawsey HPC - where you would be doing all such work in a Linux environment. The idea is that if something in your data setup pipeline fails - don't waste any valuable cpu time on it. |