Linux scripting - infosession

Course/Event Essentials

Event/Course Start
Event/Course End
Event/Course Format
Online
Live (synchronous)

Venue Information

Country: Belgium
Venue Details: Click here

Training Content and Scope

Scientific Domain
Level of Instruction
Intermediate
Advanced
Sector of the Target Audience
Research and Academia
Industry
Public Sector
HPC Profile of Target Audience
Application Users
Application Developers
Data Scientists
System Administrators
Language of Instruction

Other Information

Supporting Project(s)
EuroCC2/CASTIEL2
Event/Course Description

Topics covered
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

Target audience
This course is primarily targeted at current VSC-users.

Previous knowledge
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).

Result/Objectives
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)