Learn to Write Linux Scripts
and Automate HPC Workflows with Bash
This course will give an introduction to Linux scripting with an introduction to the mostly used loops while programming.
Programme
- How to create script files in Bash shell- Basic loops in Linux
- Return values
- Setting variables
- Using quotes
- Command line parameters
- Introduction to expressions
- Test conditions
- Shell logic structures (sequence, decision, loops)
- Shell functions
- i/o issues
- Using Linux scripting in writing PBS scripts for HPC
- This course provides hands-on sessions
Learning objectives
- Understanding and writing short Linux scripts
- Getting familiar with expressions and shell functions
- Being able to write a script using logic structures (test, sequence, decision, loop)