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/*

Comments