Generating random files

Why on earth would someone want to generate files of random content (not files with random name) ? Well, there is one big reason to do it: generate incompressible files. This seems a small reason, but there are a number os usage scenarios (apart from proving that random content is incompressible), most focus on transmitting files. Although is transparent to most people, but some tools do background compression namely, https, IPSEC and SSL VPNs, etc, and as such, trying to measure real world performance on those require incompressible content. First, how to generate it (assuming you can talk *NIX) ? …