How to find list of locations either files or folders names under given directory with pattern

Hi team,

I have tried below command which will give list of all locations. I need exact file or folder location with name let’s say FY10.

    grep -r '\sFY10\s' /home/  -- In home directory

Try find command:

find /home/ -type d  -name "FY10"


  1. /home/ - Search in this dir
  2. -type d - Only search for directories
  3. -name “FY10” - Dir name to search