if=
is not required, you can pipe something into dd
instead:
something... | dd of=sample.txt bs=1G count=1
It wouldn't be useful here since openssl rand
requires specifying the number of bytes anyway. So you don't actually need dd
– this would work:
openssl rand -out sample.txt -base64 $(( 2**30 * 3/4 ))
1 gigabyte is usually 230 bytes (though you can use 10**9
for 109 bytes instead). The * 3/4
part accounts for Base64 overhead, making the encoded output 1 GB.
Alternatively, you could use /dev/urandom
, but it would be a little slower than OpenSSL:
dd if=/dev/urandom of=sample.txt bs=1G count=1
Personally, I would use bs=64M count=16
or similar:
dd if=/dev/urandom of=sample.txt bs=64M count=16
2 comments:
Titanium Spelting Tool - Home - TITanium-arts.com
I have a great list garmin fenix 6x pro solar titanium of titanium spelting tools. I use the 2 titanium tv apk of each one of the 2 in sia titanium 1/2 of each of the pots and titanium white paint the blade 2016 ford focus titanium itself,
k269w0boyil890 dildos,dildos,horse dildo,realistic dildo,wholesale sex toys,Butterfly Vibrator,Rabbit Vibrators,male sex doll,fantasy toys q697e1euvnr488
Post a Comment