Skip to content

Instantly share code, notes, and snippets.

@jamesrampton
Created January 10, 2013 16:30
Show Gist options
  • Save jamesrampton/4503507 to your computer and use it in GitHub Desktop.
Save jamesrampton/4503507 to your computer and use it in GitHub Desktop.
Grep for file contents recursively
#!/bin/bash
grep -R -i -n 'foo()' *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment