Bash
Apprenez le scripting Bash, des variables aux scripts robustes prêts pour la production. Boucles, tableaux, traps, set -euo pipefail et un projet final de bootstrap serveur.
12 leçons, dans l’ordre
- 120 min
Qu'est-ce que Bash
Shell vs terminalBash vs sh vs zshInteractive shell vs scriptWhere Bash fits in DevOps - 225 min
Le shebang et votre premier script
Shebang#!/usr/bin/env bashChmod +x./script.sh vs bash script.shExit codes - 325 min
Variables et guillemets
Variable assignmentDouble quotes vs single quotes${var} bracesCommand substitution $(...) - 430 min
Conditions et tests
If statement[[ ]] testsString testsFile tests -f -d -e&& and ||Case statement - 525 min
Boucles
For loopWhile loopUntil loopFor f in *.txt globbingC-style for loopBreak and continue - 625 min
Fonctions
Function definitionPositional args $1 $@ $#Return for exit codesEcho for outputLocal variables - 725 min
Tableaux
Indexed arrays${arr[@]}${#arr[@]} lengthAssociative arrays declare -AIterating arrays - 825 min
Expansion de chaînes et expansion arithmétique
${var#prefix}${var%suffix}${var//old/new}$(( arith ))Printf formatting - 925 min
Redirection des E/S et pipes
>>><2>2>&1&>+3 - 1030 min
Gestion des erreurs et des traps
Set -eSet -uSet -o pipefailTrap on EXITTrap on ERRCleanup functions - 1125 min
Débogage et bonnes pratiques
Bash -xSet -xShellcheckSafe quotingNever parse ls[[ vs [+1 - 1260 min
Projet final : script d'amorçage du serveur
Idempotent provisioningInstalling packagesCreating usersSSH key setupSystemd timersLogging+2
Apprenez Bash dans votre langue
Chaque leçon, quiz et réponse du tuteur s’affiche dans votre langue. Le tuteur IA répond dans la langue que vous utilisez.
Roles that use Bash
See how hiring teams interview engineers on Bash, in production-like environments.
DevOps Engineer
Hire DevOps engineers who actually ship. Run live or take-home interviews in production-like Linux environments with Docker, Kubernetes, Terraform and CI/CD. See how they debug, automate, and work alongside AI.
See the interviewSite Reliability Engineer (SRE)
Hire SREs who actually run production. Live workspaces with metrics, logs, traces and a service that is starting to misbehave. We record every keystroke.
See the interviewInfrastructure Engineer
Hire infrastructure engineers who design systems your team can rely on. Interview them in real workspaces with Terraform, Ansible, cloud APIs and live failure scenarios.
See the interview