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