Hi all,
I'm writing a shell script (ksh) and am trying to figure out how to check if a directory exists. Basically, I'm trying to do the following (but it's not working):
if (! /usr/local){
some code
}else{
some other code
}
fi
any clues? Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~
I'm writing a shell script (ksh) and am trying to figure out how to check if a directory exists. Basically, I'm trying to do the following (but it's not working):
if (! /usr/local){
some code
}else{
some other code
}
fi
any clues? Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~