shell script to create a directory if it does not exist code example Example: bash cd or make dir if not exists mkdir -p foo