We need to remove all 404 redirect lines in every .htaccess file in every directory on our Linux server. We are recovering from a hacker on our server that injected and appended lines to all .htaccess files.
## Deliverables
I need some code to remove the following lines from all .htaccess files on my server:
Options -MultiViews
ErrorDocument 404 *whatever bad file*.php
The *whatever bad file* above is the various location and file name for an infected file(s) we removed.