i need to delete multiple files at a time without using extension name in linux system,is there any option to delete the files according by the order(like first 5 or 10 files),as we are having different extension names.
You can use the ls command to list files in various orders. What order are you are referring to?
You might want to think about what defines the order and use the find command to delete files with a common search criteria. The following command, for example, deletes files in the current directory that where not modified for 7 days:
I think I understood your questions, but it seems you did not understand my reply. There is no such thing like the first files let alone, and there is no parameter to the rm command to delete the "first" or "last" files.