---

BASH a block of bytes

I was preparing a slide presentation and wanted to show a block of random 8-bit bytes […] Naturally I didn’t just type out that block of text on a slide, which would have taken maybe 10 minutes, or copy and modify some byte-text I found online. Of course not. Instead I spent hours dreaming up elaborate ways to do it with BASH one-liners. Three methods are described here, but there are undoubtedly dozens of others. Feel free to suggest more elegant BASH one-liners in the comments.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis