bash if is link simbolico
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