shell script mkdir if not exists code example Example: bash cd or make dir if not exists mkdir -p foo