I am trying to write a bash script and part of the script is to check for multiple directories and if the directories don't exist then make them. Can someone help me on this?
The directories look like this
EX: /mk1 /mk2 /mk3 /mk4 ... /mk22
I have the make the directory part.
"else mkdir {/mk1../mk22}"