#!/bin/sh if [ -d "$1" ] ; then echo "$1:" ls -alF "$1" else exit 1 fi