bash command find directory code example
Example 1: terminal how to find a directory
find . -type d | grep DIRNAME
Example 2: bash command to find the number of files in a directory
ls -1q | wc -l
find . -type d | grep DIRNAME
ls -1q | wc -l