Return to Snippet

Revision: 54591
at January 4, 2012 00:59 by tilakapash


Initial Code
DIR="/etc"
if [ -d $DIR ]; then
  echo "Folder ${DIR} exists"
else
  echo "Folder ${DIR} does NOT exists"
fi

Initial URL

                                

Initial Description

                                

Initial Title
Check if a folder exists

Initial Tags

                                

Initial Language
Bash