Is there a way to find a string or phrase recursively in all files in a folder from the command line, such that the output would be similar to Sublime Text 2's find behavior? Like, with the path of the filename that the string has been found in and some of the text block that contains it?
I will assume you are using a *nix system. If you just want the files in the current folder, do
If you also want to recurse into subfolders, use