This has probably been asked before, but I'm unsure how to word it. I want to type out a series of strings, which are basically string1, string2, string3; but without the redundant typing. So is there a way to type:
cat 'expr "/dev/input/event" "[1 2 3 4]" " "'*4
and have it resolve to:
cat /dev/input/event1 /dev/input/event2 /dev/input/event3 /dev/input/event4
so I don't have to type each device individually?
I also apologize for what's obviously a horrible misunderstanding of how the expr command works.