tail -f "filename" | grep "goo" >>./file.txt