Write a script to count and report the number of entries present in each subdirectory mentioned in the path, which is supplied as a command-line argument.
if [ $# -eq 0 ] then echo "Comman value not pass"else total=`ls -l $1 | wc -l` echo "Total entires present in this directory $total" fi