title: How do I check if a directory has child directories?
body: <p>Using bash, how do I write an if statement that checks if a certain directory, stored in the a script variable named "$DIR", contains child directories that are not "." or ".."?</p>
  
  <p>Thanks, - Dave</p>