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

How to increase ESXi webclient login user application timeout

 To increase the default 15min timeout to 2hr Login to the esxi webclient on the right top corner ->Click the User login tab Select "...