/ Published in: Bash
                    
                                        Searches all html files under the current directory for searchterm.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 find ./ -type f -name "*.html" | xargs grep -r 'searchterm'
Comments
                    Subscribe to comments
                
                