I have files:
list-a1.jpg, list-a2.jpg
list-b1.jpg, list-b2.jpg
map-a1.jpg,map-a2.jpg
map-b1.jpg, map-b2.jpg
I want to list them using ls. I want to use regex but I have problem with prefixes. How to specify that my filename should start with "list-" or "map-"? I tried to do:
ls [.map-.][.list-.][a-b][1-2].jpg
but it is not working as expected.