What command can be used to check if a directory exists or not, within a Bash shell script?
file="foo" if [[ -e "$file" ]]; then echo "File Exists"; fi;