Linux - recursively create directory

mkdir -p foo/bar/dir_name