Tip #93 Subtract one file from another
Subtract a small file from a bigger file.Read more »
- TAGS:
- grep
Tip #96 Find occurrences of a string in a large code base without firing
A slight improvement to #64 -- drops one grep and adds line numbersRead more »
Tip #117 Find function declarations in PHP or JavaScript
function findfunc {grep -R $1 * 2> /dev/null |grep function|grep -v .svn
}
Read more »
- TAGS:
- grep
Tip #147 Find and Grep
Find all files with given name (you can use Bash expansion if you'd like), and Grep for a phrase:Read more »
alias aptitude at awk bash bc cal cat cd colrm comm cp csh curl cut date dd df dialog diff dirname dpkg du fc find fuser grep gs gzip history iconv kill ksh last less ln ls lsof lynx m4 md5sum mkdir mkfifo mkisofs mv mysql nc netstat openssl OSX perl ping popd ps pushd python read redirection rm scp screen sed sort ssh stat sudo svn tail tar tee test top tr uniq vim wc wget xargs