selfjungle Just another WordPress weblog

5Dec/110

shortcuts to find and grep

Writing these 2 line way too much a day.

Edit ~.bashrc:

function gr {
grep -Hrni $1 *
}

function f {
find . -iname *$1* | grep -i $1
}
Tagged as: Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

 

No trackbacks yet.