Category Archives: Unix

Unix / Mac OSX: How to find a strings in multiple files?

Posted on in Environment Unix

Ever need to search through all your files for a certain word or phrase? You will need the grep command for this. Handy, and it's recursive, which means you can search through your entire directory tree, scanning every file along the way. grep -r "foo" /mypath The "-r" switch, tells "grep" to scan files in […]

Read more »