coding icon

Bash scripting best practices

2022-11-04

English
English, French

Bash (Bourne Again Shell) offers a convenient way to script and automate actions on Unix-based (Linux, BSD, macOS, …) systems. This course focuses on a few techniques to write more reliable and secure scripts, which is not trivial due to the long legacy of Bash.

12,00 

Objective

While not an introduction to Bash scripting, this course focuses on techniques and best practices to improve the security and reliability of Bash scripts. Presented techniques will be illustrated in concrete examples the participants will implement during the course.

Learning outcomes

Participants will become familiar with:

  • Bash set builtin options
  • logging and debugging of Bash scripts
  • reliable concurrency protection
  • handling of signals/events
  • Bash script linting
  • other defensive programming techniques

Prerequisites

Basic Bash scripting knowledge.

Schedule:

Day 1/1:   04.11.2022    09:00 – 12:00

Location

This course takes place ON-SITE

Terres Rouges building
14, porte de France
L-4360 Esch/Alzette

Difficulty:

Beginner

Language(s) course:

English

Instructor(s):

Dr. Guillaume-Jean Herbiet

Language(s) spoken by instructor :

English, French

Additional information:

Certification:

This training does not have any assessment or exams; a certificate of participation will be issued to participants. A mandatory attendance percentage of at least 80% is required.