# Find the word "no" in . (the current directory) find . -type f -exec grep no {} \; # Find out which file that came from: find . -type f -exec grep no {} /dev/null \; # Remove all your core files: find $HOME -name core -exec rm -i {} \;