Bash
Pelajari skrip Bash dari variabel hingga skrip yang tangguh dan siap produksi. Loop, array, trap, set -euo pipefail, dan proyek akhir bootstrap server.
12 pelajaran, berurutan
- 120 mnt
Apa Itu Bash
Shell vs terminalBash vs sh vs zshInteractive shell vs scriptWhere Bash fits in DevOps - 225 mnt
Shebang dan Skrip Pertama Anda
Shebang#!/usr/bin/env bashChmod +x./script.sh vs bash script.shExit codes - 325 mnt
Variabel dan Pengutipan
Variable assignmentDouble quotes vs single quotes${var} bracesCommand substitution $(...) - 430 mnt
Kondisional dan Pengujian
If statement[[ ]] testsString testsFile tests -f -d -e&& and ||Case statement - 525 mnt
Perulangan
For loopWhile loopUntil loopFor f in *.txt globbingC-style for loopBreak and continue - 625 mnt
Fungsi
Function definitionPositional args $1 $@ $#Return for exit codesEcho for outputLocal variables - 725 mnt
Array
Indexed arrays${arr[@]}${#arr[@]} lengthAssociative arrays declare -AIterating arrays - 825 mnt
Ekspansi String dan Aritmetika
${var#prefix}${var%suffix}${var//old/new}$(( arith ))Printf formatting - 925 mnt
Pengalihan IO dan Pipe
>>><2>2>&1&>+3 - 1030 mnt
Penanganan Error dan Trap
Set -eSet -uSet -o pipefailTrap on EXITTrap on ERRCleanup functions - 1125 mnt
Debugging dan Praktik Terbaik
Bash -xSet -xShellcheckSafe quotingNever parse ls[[ vs [+1 - 1260 mnt
Capstone: Skrip Bootstrap Server
Idempotent provisioningInstalling packagesCreating usersSSH key setupSystemd timersLogging+2
Pelajari Bash dalam bahasamu
Setiap pelajaran, kuis, dan balasan tutor tampil dalam bahasamu. Tutor AI menjawab dalam bahasa yang kamu pakai.
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