Professional Bash scripting: automating Linux administration
Exit

Lesson 2 of 12 · The language in depth

Advanced tests and conditions: [[ ]], regular expressions, (( )) and number traps

45 min Rocky Linux 9

Objective

Write exact conditions: validate an input before acting, recognise a format with a regular expression and extract its parts, compare numbers and file dates without falling into the classic traps.

This lesson is part of the full course

Unlock Professional Bash scripting: automating Linux administration to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.