How to create multiple Linux subdirectories (subdirectory hierarchies) with one mkdir command

This mkdir command is pretty cool, it shows how to create multiple subdirectories (subdirectory hierarchies) with one command:

mkdir -p public/example.com/{public,log,backup}

That command creates the public, log, and backup directories, underneath the public/example.com directory it also creates.