dimanche 26 novembre 2017

How to generate 10 million random strings in bash

I need to make a big test file for a sorting algorithm. For that I need to generate 10 million random strings. How do I do that? I tried using cat on /dev/null but it keeps going for minutes and when I look in the file, there are only around 8 pages of strings. How do I generate 10 million strings in bash?




Aucun commentaire:

Enregistrer un commentaire