Posts Tagged ‘mkdir’

Grep To Find Code

Wednesday, October 12th, 2011

Find code by using grep

The command line utility grep can be used to find specific code in files. I needed a way to find code snippets recently while designing a magento shopping cart. The documentation for magento is sparse.

Grep enabled me to find specific code and output the exact file name and its location. With grep, I was also able to find the exact line number for the code.


Tags: , , , , , , ,
Posted in Tips & Tricks | No Comments »