View Single Post
Old 03-29-2005, 03:39 AM  
Zester
Confirmed User
 
Zester's Avatar
 
Industry Role:
Join Date: Jul 2003
Posts: 5,344
what's the equivalent of -e in ssh

i'm using something like this to determine if a file exists in Perl:
if(-e "myfile")

how do I do in an .sh file without getting a "No such file or directory" output like I get when I use the "ls" command?
__________________
* Mainstream ? $65 per sale
* new male contraception
Zester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote