|
|
|
|
|
by shashwat986
2714 days ago
|
|
I've used these so much: function gc() { grep -rnI "$@" * ;}
function gcA() { grep -rnI -A 5 "$@" * ;}
function gcB() { grep -rnI -B 5 "$@" * ;}
function gcC() { grep -rnI -C 5 "$@" * ;}
function gcf() { grep -rnIl "$@" * ;}
Just helper functions built on top of grep |
|
edit: Thank you both!