Whenever you're ready, walk me through how you'd approach this.
How do you automate routine system administration tasks using shell scripting?
Discuss how you would make the automation safe, repeatable, observable, and suitable for production Linux systems. Include an example such as patching, log cleanup, user management, service health checks, or backup validation.