Bash scripts coded as a preparation for an exam