Since you know about grep, then you should be looking at the pipe command and the ?rm? command. Reading the man pages, or a search for ?remove grepped files? should get you to the right path.