bash not operator


if [ ! -d $directory ]; then
echo "Directory does not exist"
else
echo "Directory does exist"
fi

Comments

Popular posts from this blog

Vim vi how to reload a file your editing