Hands-on task
This task is step 13 of the course “Linux: everyday tasks”
A folder for every month
The report archive needs a directory for every month of the year: /root/archive/2026-01, /root/archive/2026-02 … /root/archive/2026-12 — exactly 12 of them. Create them with a single command using brace expansion.
What you'll practise:
- brace expansion
- {01..12}
- leading zeros
- mkdir -p
- generating names