It's a little easier
echo {a,b,c}{A,B,C}{1,2,3}
or if you want one per line, then
echo {a,b,c}{A,B,C}{1,2,3} | xargs -n1
BTW, you can use the extender extension listed above, for example, saving the keyboard, for example, when you need to make backup files, for example:
cp /some/long/path/And_very-ugly-fileName{,.copy}
will do /some/long/path/And_very-ugly-fileName.copy without entering a second file name.
source share