Created dir and subdirs if needed (without -p it returns an error if a sub-parent also needs to be created)
mkdir -p path