Content
How can I create a new file and fill it with 1 Gigabyte worth of random data? I need this to test some software. I would prefer to use dev random or devurandom. share improve this question 8,274 19 0 57 0 75 asked Mar 7’12 at 0:26 17 Open vi with vi -w randomfile and ask someone who’s never seen vi to exit the program. 😉 – Jun 8 ’16 at 3:34