This may have been addressed somewhere but unable to find command that meets my requirement.
So basically lets say there are 51 files starting with aaa.log aaa.log.1 aaa.log.2 . aaa.log.4 aaa.log.40 aaa.log.41 . . aaa.log.50
Now, I intend to delete files with aaa.log.40 to aaa.log.50.
If i run rm -f aaa.log.4* it will delete everything including aaa.log.4 What tweak should I use so that it deletes only aaa.log.40 through 50 but not aaa.log.4 ?