bash se for link simbolico

if [[ -L "$file" && -d "$file" ]]
then
    echo "$file is a symlink to a directory"
fi
Tiago F2