← Script House 5-Minute Drill

Directory Builder Drill

5:00
1
Task 1 of 5
Loading...

DIRECTORY BUILDER

Scenario
New deployment incoming. Build the directory scaffolding for a microservices application before the DevOps team arrives at 0900.
0 completed0%
Solution Cheat Sheet
Task 1 — Create webapp directory
mkdir ~/webapp
Task 2 — Nested directories in one command
mkdir -p ~/webapp/src/components
-p creates parent dirs as needed
Task 3 — Three directories at once
mkdir ~/webapp/{config,logs,data}
Also works: mkdir ~/webapp/config ~/webapp/logs ~/webapp/data
Task 4 — Deep nested path
mkdir -p ~/webapp/deploy/staging/artifacts
Task 5 — Two test directories
mkdir -p ~/webapp/tests/unit ~/webapp/tests/integration
-p handles both the shared parent and leaf dirs
← Navigation Drill File Operations Lab →