Linux create random data file easily

 


run below command to generate a random data content file in linux:

For 1GB file:

head -c 1G </dev/urandom >myfile

For 1MB file:

head -c 1M </dev/urandom >myfile

No comments:

Post a Comment

Selenium firefox driver session fails with : Could not start a new session. Response code 500. Message: Expected browser binary location, but unable to find binary in default location,

 Error: With Firefox driver /gecko driver Could not start a new session. Response code 500. Message: Expected browser binary location, but u...