Is it possible to search files in server using command line which contains defined text. e.g. “this was hacked by slacker!” and remove that sentence only?
Also, how can that be prevented in future, not sure how they can add text in every single file.
Use sed
http://www.brunolinux.com/02-The_Terminal/Find_and%20Replace_with_Sed.html