I want to delete all files that have two numbers and a dot in beginning of their namesfor example:01. abc02. xyz
delete files having a certain pattern in their names
bash;shell script;files;wildcards
rm [0-9][0-9].*will do it for files in the current directory (no quotes  you want to match files). The . doesn't need to be escaped, because this is a shell glob and not a regular expression (if it were a regex, that would be a wildcard).If you are looking to do this recursively, find is probably your best bet.