What command can be used to check if a directory exists or not, within a Bash shell script?
Type this code on the Bash prompt:
if [ -d "$DIRECTORY" ]; then # If true this block of code will execute fi