Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

IF NOT DIR BASH

if [ ! -d "$DIRECTORY" ]; then
  # Control will enter here if $DIRECTORY doesn't exist.
fi
 
PREVIOUS NEXT
Tagged: #IF #NOT #DIR #BASH
ADD COMMENT
Topic
Name
9+5 =