Intermediate1 h 45Free
Bash: scripting and administering a Linux server
Move from a few commands typed by hand to reliable scripts that work for you. You write scripts with variables, conditions, loops and functions, you make them robust against errors, then you administer a server: services, logs, scheduled tasks and accounts. You finish with an automatic backup script with archive rotation.
Start the course
0 / 6 chapters completed
What you'll be able to do
- Write Bash scripts with arguments, conditions, loops and functions
- Make a script robust: set -euo pipefail, exit codes, quotes
- Manage services with systemctl and read their logs with journalctl
- Schedule tasks with cron
- Automate a backup with rotation of old archives
Course outline
Part 1 · Writing solid scripts
Part 2 · Administering a server