Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux shell check if directory does not exists

if [ ! -d directory ]; then
  mkdir directory
fi
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #linux #shell #check #directory #exists
ADD COMMENT
Topic
Name
9+9 =