Recursive call to find files and directories in Shell script from current path.

################################################################
Copy this script to your path from where you want to search for all the files and directories in subdirectories recursively.
#################################################################
code starts here
##################################################
#!/usr/bin/sh
recur_fun()
{
for i in `ls -ltr | grep '^d'| awk '{print $9}'`
do
echo $i;
cd $i;
ls
pwd
recur_fun
cd ..
pwd
done
}
recur_fun

find /path -print

does the same thing.

Below is another variant

ls -ltR /path