How to create multiple directories at once using mkdir

Deployment

Background

Sometimes it's useful to create a whole bunch of directories at once. Use the following command to do this Linux and the mkdir command: 

mkdir -p storage/framework/{sessions,views,cache}
lang-bash

See Also

https://kb.vander.host/knowledgebase/software-development/how-to-resolve-quotbootstrapcache-directory-must-be-present-and-writablequot-and-quotplease-provide-a-valid-cache-pathquot-errors-whilst-doing-composer-install-for-a-laravel-app/