Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged search



« Prev 1 Next »
Copy files recursively in Windows
0 28 posted 4 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 24 posted 8 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 20 posted 8 years ago by klovera
0 16 posted 8 years ago by ragnarokkrr
Searches down the current directory every file whose name matches (case insensitively) {{file_pattern}} for the regexp {{text}}.
0 12 posted 9 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 22 posted 9 years ago by niels_bom
grep through all history from within a Subversion working directory, like: $ svngrep SecItemCopyMatching *
0 15 posted 9 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 8 posted 10 years ago by kitzelh
0 7 posted 10 years ago by dorseye
0 11 posted 11 years ago by kfaulk1
0 10 posted 11 years ago by kfaulk1
Replace all the occurrences of a string with a replacement in the supplied files.
2 21 posted 11 years ago by sanjivarunsahayamhotmailcom
1 11 posted 13 years ago by olive
0 12 posted 13 years ago by olive
« Prev 1 Next »