generate_randfile(1)

✨ generate_randfile(1) β€” General Commands Manual ✨

okay bestie, buckle up, because this lil cutie lives in section 1 of the manual and it's literally called generate_randfile πŸ’–


🌈 NAME 🌈

generate_randfile β€” it's giving "a program to generate a file of random data" πŸ’… no cap, that's the whole job description.


πŸŽ€ SYNOPSIS πŸŽ€

generate_randfile [ -s seed] [ -f file] count

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically it produces a file made up of random integers in network-byte-order, and the tea is that those integers come straight from the rand(3) library call. that's it. that's the whole vibe. 🫢


✨ OPTIONS ✨

  • -s β€” the seed to use to create the random numbers 🌱 (pick your chaos, bestie)
  • -f β€” the file to create for writing the output. default is to use standard output, so if you don't say anything it just yells into stdout like a main character 😌
  • count β€” the number of integers to write πŸ”’ yes you have to tell it how many, it's not a mind reader

πŸ‘€ SEE ALSO πŸ‘€


πŸ‘‘ AUTHOR πŸ‘‘

these programs were written by Russell Coker <russell@coker.com.au>. and the iconic part? may be freely used and distributed without restriction πŸ’– periodt.


🌸 AVAILABILITY 🌸

the source is available from http://www.coker.com.au/bonnie++ 🧚

see http://etbe.coker.com.au/category/benchmark for further information 🌟


and that's the whole page, bestie β€” this was generate_randfile(1) from the General Commands Manual, sourced from that bonnie++ corner of the internet circa its release date, and you absolutely ate by reading all the way to the end πŸ’…πŸ’œ