Originally Posted by pixellany
Look at "man test" ("[" is a synonym for "test")
-e is not for executable--it checks to see if the file exists
Doesn't -f purport to check if a file is a file, oh, i just answered my own question:
-e checks to see if ANY file (directory or otherwise) exists answering to the name in the <filename>; whereas:
-f checks to see if the file in question is in fact a normal file
Would that be right?