/ Published in: Bash
                    
                                        
-l switch output only the names of files in which the text occurs as opposed to each line containing the text
-i switch ignores the case
-r descends into subdirectories
Example:
grep -lir "my search string" /home/account_name/public_html/
                -i switch ignores the case
-r descends into subdirectories
Example:
grep -lir "my search string" /home/account_name/public_html/
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
grep -lir "search string" *
Comments
 Subscribe to comments
                    Subscribe to comments
                
                