grep --exclude={Filename to exclude} "{searchterm}" *
grep -rn regex_search folder_where_to_search #Ex: search pattern in "." current folder (r) recursively grep -rn pattern .