I am using tail and grep to find something like 'Apple' on multiple files i need to get the file name that found the result in
tail -F files_name grep --line-buffered -e 'Apple' -e 'Orange' while read ; do while :; do echo -en "\007"; sleep 1; done ; done