bin/bash FILE=$1 if [ -f $FILE ]; then echo "File $FILE exists. ... To be pendantic, you should say "regular file", as most UNIX/POSIX docs refer ...
stackoverflow.com