grep to delete files code example Example: linux how to remove all files with grep rm -rf $(ls | grep car)