Linux tutorial: Searching all files of a specific type for a string

Let’s say you want to search all the *.txt files in a given parent directory and all its children for the word “hello”. Something like grep -rl “hello” *.txt would not work because the shell will expand “*.txt”… Read More