
Simulating mkdir -p in bash
When we are working with systems that do not support special cases then we need to simulate. That is why it is handy to create different simulations of already existing solutions.
In this case we will create a solution that is going to replicate the mkdir -p command in bash.