Bash si es un enlace simbólico
if [[ -L "$file" && -d "$file" ]]
then
echo "$file is a symlink to a directory"
fi
Tiago F2
if [[ -L "$file" && -d "$file" ]]
then
echo "$file is a symlink to a directory"
fi