Scroll To Top

grep is a great tool for web development. I've included a script to make things a little bit easier for searching your files for code.

grep is a handy tool I use to find code to modify certain things in web design. Wikipedia's definition of grep is as follows:

grep is a command line text search utility originally written for Unix. The name is taken from the first letters in global / regular expression / print, a series of instructions for the ed text editor. The grep command searches files or standard input globally for lines matching a given regular expression, and prints them to the program's standard output.

Below is the code I've added to my path so I can easily run grep without having to type everything out repeatedly

grep -iIrn "$searchterm" * | grep -v .svn