Find all regular files under current directory tree, prepend '#' at the beginning of the lines that contain 'abc' in those files and modify them in-place
find . -type f -exec sed -i ‘s/.*abc.*/#&/’ {} \;