what is the difference between -f and -e, when checking for file exists

Hi All,

what is the difference between -f and -e.

Regards,
ch33ry

check the man page...

     -e file       True if file exists (regardless of type).

     -f file       True if file exists and is a regular file.

and for the next question: