How are test -d DIR and [ -d DIR ] related?
test -d DIR
[ -d DIR ]
They express the same directory condition and return status 0 when it is true
Both always print the words true or false
Both create the directory if it is missing
The bracket form returns the opposite result