Scenario: You look after a small office's Linux server and want its routine admin jobs scripted. You work as root on a Linux VM in your browser.
What you do: Write a process checker with exit codes, a script that lists /etc, a tar and gzip backup of /root/data, a data row counter, and a crontab line for a nightly backup.
Expected result: Each script sits in /root/scripts/ and the check runs it, sometimes with other inputs or data, so it has to really do the job.