I've a folder with thousands of files with this pattern: YYYYMMDD_HH24MISS_4DIGITSEQUENCE.
Example: 20180626_210123_0001.
Now for example while I'm deleting via
rm -f *20180626_1* command its working fine.
My question is: 1. Which file is being deleted first? 2. Is it being picked randomnly? 3. If it maintains any sequence while choosing, then which one and how it decides?