/ Published in: Bash

Finds a string in current folder. Put this in your ~/.bashrc
Expand |
Embed | Plain Text
function findex(){ find ./ -exec grep -Hn "$1" {} \; }
You need to login to post a comment.
mattkenefick on 10/28/10
1 person have marked this snippet as a favorite
Finds a string in current folder. Put this in your ~/.bashrc
function findex(){ find ./ -exec grep -Hn "$1" {} \; }
You need to login to post a comment.