grep to search for file content or rpm -qa output
By jeltsch on Fri, 05/25/2007 - 22:03In order to search a specific directory (path_to_directory) and all its subdirectories (-r for recursive) for files that contain a specific text string, use the following command:
grep -r "textstring" path_to_directory