grep - Searching a word/group of words from a list of files in unix -
I want to search for a word event in all files from a given folder and only want to see the list of files I am Tried: - I also have the Please help. make sure what is happening with your Maybe check that Find-type f -exec grep -l & lt; Keyword & gt; {} \; But I'm getting the entire line of all the keyword's events, it's getting messy.
grep -hr & lt; "Keyword" & gt; . but giving it to: grep: illegal option - r.
grep , but it's okay Works:
find-type f -exec grep -l {} \: ./br.csv ./combined.csv ./skyscan.csv ./skyscan.db ./team .sql ./uniq.js
grep is running on you.
Comments
Post a Comment