Useful Linux Commands
*Note this is out of date, there are better commands for doing this…
search for files containing text:
this searches in this directory (and subdirectories) for anything ending in ‘.h’
find * -name *.h | xargs grep string
but this has problems with spaces in the paths..
grep –with-filename string `find * . -name *.h`
makes to big of an argument list….
find . -name *.h -printf \“%p\”\\n | xargs grep taylor
this fixes the problem with the spaces…