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