Hi guys I have an extended question from this thread
I need to find some files given file name and use grep on the last lines of these files to find a certain string.
I currently have:
find my_dir/ -name "*filename*" | xargs grep 'lookingfor'
I'm new to using these commands so much help would be appreciated. Thank you in advance.