Linux scripting course
This course will give an introduction to Linux scripting with an introduction to the mostly used loops while programming
- 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
This course is primarily targeted at current VSC-users
Total duration: 4 hours.
Free of charge
Having a basic knowledge of Linux is expected (if not please follow first the Linux-introduction course). Users that want to use VSC account for hands-on sessions should already have a VSC account created (bring the private key) and should have followed HPC introduction and Linux for HPC or should have the equivalent knowledge).
- Understanding and writing short Linux scripts
- Getting familiar to expressions, shell functions
- Being able to write a script using logic structures (test, sequence, decision, loop)
If you are planning to use your VSC account during hand-on sessions and you already asked for the vsc-account and created a key-pair, in order to speed up the vsc-account use during the practical exercise, please bring your private key with you (on your laptop or on your usb-stick) to be able to login. If you lost it or you do not remember the passphrase associated with it - we will assist you in creating a new key pair.
If you do not have KU Leuven ID (e.g. u-, r- or s- number), please contact us (firstname.lastname@example.org) so that we can create a temporary account for you, with which you will be able to login on computers used during hands-on sessions or use wifi on your own laptop.