>I know it's there somewhere. I just can't see it.
>In DOS, if I wanted to check if a file existed, and if it did, to do
>something, I'd say:
>if not exist f:\path\file.ext goto nothing
>... do things here
if [ ! -f filename ]
This says "if not an existing regular file"
You need to look at the man page for "test"