Hands-on practice with Bash scripting by building five scripts in a Linux command-line environment as part of the freeCodeCamp curriculum.
This project, completed as part of the freeCodeCamp Learn Bash Scripting by Building Five Programs course, demonstrates how to combine terminal commands and logic into executable shell scripts. Developed and tested inside a Gitpod-powered Linux environment, the project provided hands-on practice with conditional logic, loops, functions, and automation.
- Practice Bash scripting fundamentals in a Linux terminal.
- Apply conditional logic, loops, and functions to solve small problems.
- Automate repetitive tasks using shell commands.
- Build confidence working in a virtualized command-line environment.
Each script highlights a different scripting concept:
questionnaire.sh: Collects user input via prompts and prints formatted responses.countdown.sh: Runs a timed countdown in the terminal using loops and sleep.bingo.sh: Randomly generates a bingo-style number grid.fortune.sh: Delivers a random fortune or quote using arrays or file input.combo.sh: A bundled script that runs all four scripts in order.
Run any script using the Bash command:
bash scriptname.sh- Strengthened command-line fluency in Linux.
- Learned to structure Bash scripts with functions, loops, and conditionals.
- Practiced automation and reproducibility in a virtual environment.