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