cli.fail

Practice this fail.

Parents are required.

Linux · Restart as often as you like

Read the error, choose a command, and learn
why it works. Nothing runs on your machine.

Browse all practice ↗

Linux · Beginner

Using GNU mkdir, create ./build/reports/daily. Some parents may be missing, and existing directories should not cause an error.

Parents are required.

$ mkdir ./build/reports/daily

No such file or directory

How do you create the missing parent directories too?

3 attempts remaining

Read why this fix works

Parents are required.

mkdir -p ./build/reports/daily

mkdir -p creates missing parents and does not fail merely because the requested directory already exists. It does not make an existing regular file into a directory.

Practice rounds do not affect the daily score or local streak. Try today’s challenge, or choose another scenario.

Copy your result