PASSED=$1 if [ -f $PASSED ]; then echo "$PASSED is a file" ls -l $PASSED elif [ -d $PASSED ]; then echo "$PASSED is a directo