Signal9Signal9 — home
online
back to labs

Brace Expansion: Make Many at Once

EasyCommand Line Guru10-15 min
The brief

Brace expansion generates strings before the command runs — perfect for creating a batch of directories in one shot. Under /root/project create exactly three directories named jan, feb, and mar using a single brace-expansion mkdir — one command, three directories.

Grading checks that exactly these three directories exist directly under /root/project — a stray extra directory there (for example from a mistyped brace list) fails the check.

What you'll do
  • Create /root/project/jan, feb, and mar with one brace-expansion mkdir

Hands-on lab: you work on a real Linux box in your browser, graded on the machine's actual state.