#!/usr/bin/bash if [ ! -d $1 ]; then mkdir $1 || exit 1 fi chmod 755 $1 || exit 1 chgrp kermit $1 || exit 1 cd $1 || exit 1 cd .. ls -ld $1 exit 0