Hi,
In the Linux Challenge Lab 4 there is a task to find all files that have a word in them ending with the letter “t”. After getting stuck on this for a while I looked up the solution and found this repository, and the answer impressed me quite a bit, as I’ve never seen this syntax:
rm -f $(find /opt/appdata/ -type f -exec grep -l 't\>' "{}" \; )
Could someone kindly explain what the grep -l 't\>
part is doing? Thank you,