Created
August 9, 2010 13:13
-
-
Save x0bandeira/515390 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ grep "string_to_search_in_files" "folder/to/search" -R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#search for "add_object_page" in all files within | |
#the current folder and its subfolders | |
$ grep "add_object_page" . -R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#search for "File.expand_path" in all files within | |
#/var/www/rails_app and its subfolders | |
$ grep "File.expand_path" /var/www/rails_app -R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment