I want to create a shell script that echos something if 3 directories don't exist.
Here is the code I wrote: test.sh:
if [ ! -d "/home/unix/POSTagger2" ] || [! -d "/home/unix/POSTagger2/stanford-parser-full-2015-12-09"] || [! -d "/home/unix/POSTagger2/stanford-corenlp-full-2015-12-09"]; then echo "Nope" fi
When I run it, I get this error:
./test.sh: line 1: [!: command not found
What's wrong with my syntax?