Unix checking current pathname a directory -
i using korn shell , trying write scrip tell if current pathname directory, , if going run more commands. have tried doing if statement have been told better suited using while statement. have no luck.
so... trying like:
if [[ -d 'path' ]]; <commands> fi
didn't work?
maybe post example code.
Comments
Post a Comment