baz2CDfoo3ABbar7AD
echo $(echo {foo,bar,baz}{7,2,3}{A,B,C,D} | awk 'BEGIN{srand(); n=split("",a); for(x=1;x<=n;x++){i=int(rand()*n+1);if(i!=x){b=a[i];a[i]=a[x];a[x]=b}} for(x=1;x<=n;x++)printf a[x];print ""}')