ls *{369..422}*.avi This will first generate patterns like *369*.avi *370*.avi *371*.avi *372*.avi *373*.avi *374*.avi through the brace expansion, and then `ls` will be executed with these patterns.