What does this shell script do? Linux What does this shell script do? Answer: FOO=/tmp/foo if [ ! d $FOO ]; then mkdir $FOO fi Creates /tmp/foo if it does not exist Share this Share on FacebookTweet on TwitterPlus on Google+