Bash check if a directory exists

To check if a directory exists in bash, use

To check for absense of a directory, use !

See bash

Leave a Reply

Your email address will not be published. Required fields are marked *