Script repetitive tasks

Script repetitive tasks in Linux — with the four heights of help laid out: do it now, make it easier for the next person to accept, work out the right move when you are stuck, and learn the pattern so it stops coming back.

4prompt heights
Open it in the interactive atlas →

The four heights

The same task, four distances: today's deadline, the next reviewer, the stuck moment, the pattern.

Execute — do the immediate task

+
Automate the daily user creation and backup rotation tasks that the support team runs by hand.…
Automate the daily user creation and backup rotation tasks that the support team runs by hand. Write idempotent scripts that accept a username, role, and retention days, create the user with the right groups, rotate the user’s keys, and remove backups older than the retention value. Put logging, exit codes, and a dry‑run mode. Hand off with readme and a sample invocation.

Improve — make it easier to accept

+
Before I merge these automation scripts into the repo, make them easy for on‑call to trust. Surface…
Before I merge these automation scripts into the repo, make them easy for on‑call to trust. Surface a one‑line summary at the top of each script explaining its effect, log progress to syslog, validate inputs early, and add a safety flag for destructive actions. Highlight where human review is still required and a one‑line rollback command.

Decide — diagnose the stuck moment

+
I deployed a new provisioning script that was supposed to be idempotent; it removed SSH keys for…

Script changed prod users unexpectedly

I deployed a new provisioning script that was supposed to be idempotent; it removed SSH keys for three users in production. I don’t know whether the bug is in argument parsing or in the user lookup logic, and support is already upset. What are the quickest checks and the safest rollback or remediation to restore access immediately?

Become — change the pattern

+
We keep reinventing small admin scripts in desperate Fridays and they differ wildly in logging,…

Rewriting scripts each time repeats bugs

We keep reinventing small admin scripts in desperate Fridays and they differ wildly in logging, safety, and testing, causing repeated outages. I want to professionalize this work. What single structural habit — naming, testing, review, or templates — should we adopt so scripting stops introducing these recurring errors?

Next to this one

Other operating system work people do in Linux.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.