Check out the new projects site for A-i-S www.adventuresinsilicon.com

Saturday, January 15, 2011

Linux Tip: How to search a project for a string

If you need to search for a string such as "nasm" in a directory full of files and sub-directories try:

 grep -R -B2 -A2 nasm /home/dingo/program_dir/*

No comments: