If you have a vast number of files and you want to do something with them, then use something like the following: grep -l “mystring” * | xargs -I{} echo {} this will echo each filename that contains mystring in the current working directory. You could replace echo linux command with any other command, for […]