title: List all directory using shell command without using find, busybox command
body: <p>I am working on android shell. which is actually linux shell only but it is not supporting lots of linux standard command.</p>
  
  <p>My requirement is to list all the directory present in particular directory recursively without using find, busybox, egrep. Because these things are not supported in android.</p>
  
  <p>I tried </p>
  
  <blockquote>
    <p>ls -R | grep ./</p>
  </blockquote>
  
  <p>which is giving me output but adding : at the end.</p>
  
  <p>Is there any other way to list all the directory recursively.</p>