Linux - create if directory does not exists

[ -d /var/www/my_dir ] && echo "Directory exists" || mkdir /var/www/my_dir