What command can be used to check if a directory exists or not, within a Bash shell script?
Shorter form:
[ -d "$DIR" ] && echo "Yes"