Unix: Create directory if doesn’t exist

With -p option you can create a directory if it doesn’t exist. Useful trick for your bash scripts.

mkdir -p foo 


Posted

in

by

Tags: