Using a script need to identify all files or folder which contains a specific keyword under given path. The path will have multiple folders. Below is the script that is used.
#!/bin/sh
DIR=''
for FILE in ls "$DIR"*
do
# echo $FILE
grep -l $FILE "*FY*"
done
~