[uClinux-dev] msh: detect if a file exists

Michael Schnell mschnell at lumino.de
Mon Jun 9 12:15:12 EDT 2008


Hi Experts,

I don't find any documentation to msh (other than that it is supposed to 
work similar to bash) :)

Does anybody know how I can detect if a file exists with msh ?

if [ -a xy ]; then .....

does not seem to work.

What am I doing wrong ?

Thanks,
-Michael


More information about the uClinux-dev mailing list