$ mkdir abc
$ mkdir abc/def


$ mkdir x/y/z
mkdir: cannot create directory 'x/y/z': No such file or directory

$ mkdir -p x/y/z