How to create nested directories

$ mkdir -p [path/to/dir]

Command
mkdir
Description
Create a directory and any necessary parent directories. Usage: mkdir -p a/b/c
Deep Dive
-p: Parents. Without this flag, the command fails if parent directories don't exist.