I currently have n data files in a directory where each file has at most 1 line of very long data. My directory structure is
director/
data1.json
data2.json
data3.json
I know that at least one of those files contain the keyword I'm looking for, but since the one line of data is too long, it covers my entire terminal. How do I get the filename only after performing a keyword grep? The grep command I'm using is:
grep keyword *.json