dir=$1if [ -d $dir ];then ls $direlif [ -x $dir ];then sh $direlif [ -r $dir ];then more $dir else ll $dirfi