# [Bash] + Unix utilities, <s>29</s> 26 bytes <!-- language-all: lang-bash --> dc -e2o8927II^*8/p|fold -4 [Try it online!] [Bash]: https://www.gnu.org/software/bash/ [Try it online!]: https://tio.run/nexus/bash#@5@SrKCbapRvYWlk7ukZp2WhX1CTlp@ToqBr8v8/AA "Bash – TIO Nexus" This is the same length as @DigitalTrauma/@Dennis's solution, but uses a completely different method. Output is: 1010 0010 0110 0001 1001 0101 0100 0111 0011 1000 0000 (Any order is allowed.) ---- # Pure [Bash], 34 bytes <!-- language-all: lang-bash --> echo 0{0,1}{0,1}{0,1} 10{00,01,10} [Try the pure Bash version online!] [Bash]: https://www.gnu.org/software/bash/ [Try the pure Bash version online!]: https://tio.run/nexus/bash#@5@anJGvYFBtoGNYiyAUDIEiBjoGhjqGBrX//wMA "Bash – TIO Nexus" Output is: 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010