codice:
for i in `ls`
do
   echo "$i"
   if test -d "$i"
   then
      echo "Directory"
   else
      echo "File"
   fi
done