title: How to check whether a directory is empty or not in Shell Scripting?
body: <blockquote>
  <h2>I have a directory. It is empty. If i perform ls -lrt , it shows total 0</h2>
  </blockquote>
  <p>How do I specify an If condition to perform something, only if the directory is empty.</p>
  <p>I mean to ask how to capture that 0 value.</p>