Answers for "bash if is symlink"

0

bash if is symlink

if [[ -L "$file" && -d "$file" ]]
then
    echo "$file is a symlink to a directory"
fi
Posted by: Guest on May-27-2021

Browse Popular Code Answers by Language