Hi,

I need to remove a bunch of files that contact a specific word like spam.

To find the files that contain the word "spam" this was used.
# grep -l spam *

Got a list of all the file names. How to remove all these files.

Tried the following and it did not work.

# grep -l spam * | rm

Please share some suggestions or links to some website for more learning.

P.V.Anthony

_______________________________________________
Slugnet mailing list
[email protected]
http://www.lugs.org.sg/mailman/listinfo/slugnet

Reply via email to