Here's the code snippet:
if [ -f artisan ]
then
   php artisan migrate --force
fi
What does the -f do in the if statement?  Is is asking whether the batch file was invoked with artisan as a parameter?  Or perhaps checking to see that the artisan file is found in the current directory?  How exactly does it work?
 
    