Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged search



« Prev 1 Next »
Copy files recursively in Windows
0 750 posted 8 years ago by wesleydepoorter
Fast and easy way to find a keyword inside of files located inside of a directory tree. (eg: looking for a function foo, inside of your applications directory.) This command will display a list of files which contain function foo.
0 781 posted 12 years ago by luizlopes
-l switch output only the names of files in which the text occurs as opposed to each line containing the text<br> -i switch ignores the case<br> -r descends into subdirectories<br> Example: grep -lir "my search string" /home/account_name/public...
0 579 posted 12 years ago by klovera
0 646 posted 12 years ago by ragnarokkrr
Searches down the current directory every file whose name matches (case insensitively) {{file_pattern}} for the regexp {{text}}.
0 536 posted 13 years ago by jarnaldich
I use this bash oneliner all the time to recursively search for a string in large codebases. I use it when searching for mentions of tables, databases, function definitions, function calls etcetera.\r\n\r\nIt searches through a number of file types (...
1 698 posted 13 years ago by niels_bom
grep through all history from within a Subversion working directory, like: $ svngrep SecItemCopyMatching *
0 675 posted 13 years ago by zingo
I'm constantly checking to see if a certain program or process is running. This helps reduce the typing and the clutter.
0 392 posted 14 years ago by kitzelh
0 466 posted 15 years ago by kfaulk1
0 437 posted 15 years ago by kfaulk1
Replace all the occurrences of a string with a replacement in the supplied files.
2 741 posted 15 years ago by sanjivarunsahayamhotmailcom
1 455 posted 17 years ago by olive
0 467 posted 17 years ago by olive
« Prev 1 Next »